Skip to content

Rose::FileSystem::copyFile

Copy a file.

Synopsis

Declared in <src/Rose/FileSystem.h>

[[visibility]]
void
copyFile(
    Path const& sourceFileName,
    Path const& destinationFileName);

Description

Copies the contents of the source file to the destination file, overwriting the destination file if it existed.

Parameters

Name

Description

sourceFileName

Name of entities in a filesystem.

destinationFileName

Name of entities in a filesystem.

Created with MrDocs