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 v0.8.0-preview.1+4df4cd2858d46c717d136ff5c571742dc449f642.