vibe.d beta banner
get vibe.d
0.7.30

Function moveFile

Moves or renames a file.

Prototypes

void moveFile(
  Path from,
  Path to,
  bool copy_fallback = false
);

void moveFile(
  string from,
  string to,
  bool copy_fallback = false
);

Parameters

NameDescription
from Path to the file/directory to move/rename.
to The target path
copy_fallback Determines if copy/remove should be used in case of the source and destination path pointing to different devices.
Authors

Sönke Ludwig

Copyright

© 2012-2014 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.