Skip to content

Is there an option to stop on first match? #50

@yury-kozlov

Description

@yury-kozlov

I'm interested in finding just the first occurrence of requested file. But due to a complex directory structure in our repo the scan takes much time.
It would be a great optimization feature if you expose some API to limit the number of matches to top X, or may be evaluate some callback method in order to stop search or continue.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions