spack/lib/spack/llnl/util
Harmen Stoppels 5072e48dab
Add llnl.util.filesystem.find_first (#36083)
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.
2023-03-27 09:42:16 -07:00
..
tty colify.py: get rid of **kwargs (#35641) 2023-02-23 11:18:54 -08:00
__init__.py license year bump (#34921) 2023-01-18 14:30:17 -08:00
argparsewriter.py license year bump (#34921) 2023-01-18 14:30:17 -08:00
filesystem.py Add llnl.util.filesystem.find_first (#36083) 2023-03-27 09:42:16 -07:00
lang.py Style: black 23, skip magic trailing comma (#35351) 2023-02-16 23:06:12 -06:00
link_tree.py environment views: better, earlier error on clash (#35541) 2023-02-20 19:14:27 +01:00
lock.py license year bump (#34921) 2023-01-18 14:30:17 -08:00
multiproc.py Fix broken links in docs (#35582) 2023-02-20 09:21:18 +01:00
symlink.py Windows: properly handle symlink failures (#36003) 2023-03-17 10:19:32 -07:00