summaryrefslogtreecommitdiff
path: root/LICENSE-MIT
diff options
context:
space:
mode:
authorHarmen Stoppels <harmenstoppels@gmail.com>2023-03-27 18:42:16 +0200
committerGitHub <noreply@github.com>2023-03-27 09:42:16 -0700
commit5072e48dabec81699542220ccd6595a097f7f8d1 (patch)
tree63bf9734f3134eba3706b8a81046837cf346982f /LICENSE-MIT
parentc5b3fc6929208fdc0c308e748e048fb17b26b2d3 (diff)
downloadspack-5072e48dabec81699542220ccd6595a097f7f8d1.tar.gz
spack-5072e48dabec81699542220ccd6595a097f7f8d1.tar.bz2
spack-5072e48dabec81699542220ccd6595a097f7f8d1.tar.xz
spack-5072e48dabec81699542220ccd6595a097f7f8d1.zip
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.
Diffstat (limited to 'LICENSE-MIT')
0 files changed, 0 insertions, 0 deletions