Remove verifyOldLocationExists parameter from RenameLocal()

This commit is contained in:
2025-06-05 20:23:18 -04:00
parent c0f55156d8
commit 3daaf2d67a
3 changed files with 3 additions and 10 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ end:
// It can safely be called in offline mode, as well, so this is the intended
// interface for renaming (RenameLocal should only be used directly by the server binary).
func RenameRemoteFromClient(oldLocationIncomplete, newLocationIncomplete string) error {
err := synccommon.RenameLocal(oldLocationIncomplete, newLocationIncomplete, false) // move the target on the local system
err := synccommon.RenameLocal(oldLocationIncomplete, newLocationIncomplete) // move the target on the local system
if err != nil {
return errors.New("unable to rename target locally: " + err.Error())
}