FileSystem.moveFile

void moveFile(string source, string dest, bool overwrite = false, thrown IoError error)

Moves or renames a file.

Remarks

Throws IoError when the file cannot be moved.

Parameters

string
source

Existing source file path.

string
dest

Destination file path.

bool
overwrite = false

When true, an existing destination file may be replaced.

thrown IoError
error

Generated with campc 0.12.0-preview.1.