Skip to content

Rose::FileSystem::copyFilesRecursively

Recursively copy files.

Synopsis

Declared in <src/Rose/FileSystem.h>

template<
    class Select,
    class Descend>
void
copyFilesRecursively(
    Path const& root,
    Path const& destination,
    Select select,
    Descend descend);

Description

Get a list of files by recursively matching files under root and then copy them to similar locations relative to destination. The root and destination must not overlap. The select and descend arguments are the same as for the findNamesRecursively method.

Parameters

Name

Description

root

Root directory to search.

destination

Destination root directory.

select

Predicate to include paths.

descend

Predicate controlling recursion.

Created with MrDocs