file_finder: Leverage or-patterns and bindings to deduplicate prefix handling (#38860)

Just small code changes, to deduplicate prefix handling.

Release Notes:

- N/A
a25504edafDriftcell committed on 9/25/2025, 10:01:28 AM· committed by GitHubparentbc11844
1 file changedLine totals unavailable