fix(webdav/move): fix source file still exist after moving file by webdav (#1979)

This commit is contained in:
mkitsdts
2026-01-21 17:27:19 +08:00
committed by GitHub
parent 02aec71383
commit d8417e050c

View File

@@ -155,6 +155,9 @@ func transfer(ctx context.Context, taskType taskType, srcObjPath, dstDirPath str
}
t.Base.SetCtx(ctx)
err = t.RunWithNextTaskCallback(callback)
if err == nil {
hasSuccess = true
}
if taskType == move {
task_group.TransferCoordinator.AppendPayload(t.groupID, task_group.SrcPathToRemove(srcObjPath))
}