Skip to content

Rose::FileSystem::findNamesRecursively

Recursive list of names satisfying predicate.

Synopses

Declared in <src/Rose/FileSystem.h>

[[visibility]]
std::vector<Path>
findNamesRecursively(Path const& root);
template<class Select>
std::vector<Path>
findNamesRecursively(
    Path const& root,
    Select select);

Recursive list of names satisfying predicate.

template<
    class Select,
    class Descend>
std::vector<Path>
findNamesRecursively(
    Path const& root,
    Select select,
    Descend descend);

Return Value

Sorted list of matching paths.

Parameters

Name

Description

root

Directory to search.

select

Predicate to include paths.

descend

Predicate controlling recursion.

Created with MrDocs