![]() Add a `find_first` method that locates one instance of a file that matches a specified pattern by recursively searching a directory tree. Unlike other `find` methods, this only locates one file at most, so can use optimizations that avoid searching the entire tree: Typically the relevant files are at low depth, so it makes sense to locate files through iterative deepening and early exit. |
||
---|---|---|
.. | ||
tty | ||
__init__.py | ||
argparsewriter.py | ||
filesystem.py | ||
lang.py | ||
link_tree.py | ||
lock.py | ||
multiproc.py | ||
symlink.py |