22b3a73109751928331032868cad9be48ece9c2b
Centralize all move helpers through a single safeRename function that stats the destination first and refuses to overwrite (bug #14), and falls back to copy+fsync+remove when os.Rename returns EXDEV across mounted filesystems (bug #13). Drops the dead MoveToOutput helper.
Description
No description provided
150 KiB
Languages
Go
100%