FileMapping.moveToFile

Unconditionally and destructively moves the underlying file to filename. If the operation succeeds, returns true. Upon failure, prints a message to stderr and returns false. In all cases it closes the underlying file.

struct FileMapping(Datum)
nothrow
bool
moveToFile
(
const char* filename
)

Return Value

Type: bool

true iff the operation was successful.

Meta