moveFile

Moves or renames a file.

  1. void moveFile(NativePath from, NativePath to, bool copy_fallback)
  2. void moveFile(string from, string to, bool copy_fallback)
    @safe
    void
    moveFile
    (
    string from
    ,
    string to
    ,
    bool copy_fallback = false
    )

Parameters

from string

Path to the file/directory to move/rename.

to string

The target path

copy_fallback bool

Determines if copy/remove should be used in case of the source and destination path pointing to different devices.

Meta