mirror of
https://github.com/lordmathis/lemma.git
synced 2025-11-06 07:54:22 +00:00
Implement MoveFile functionality
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user