spack/lib/spack/llnl
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
..
util Add llnl.util.filesystem.find_first (#36083) 2023-03-27 09:42:16 -07:00
__init__.py license year bump (#34921) 2023-01-18 14:30:17 -08:00