Implement MoveFile functionality

This commit is contained in:
2025-07-12 11:52:51 +02:00
parent 0b0cd9160e
commit 3ac657486c
3 changed files with 70 additions and 3 deletions

View File

@@ -192,7 +192,7 @@ func (s *Service) MoveFile(userID, workspaceID int, srcPath string, dstPath stri
}
if err := s.fs.MoveFile(srcFullPath, dstFullPath); err != nil {
return fmt.Errorf("failed to move file: %w", err)
return err
}
log.Debug("file moved",