generated from VLADIMIR/template
up
This commit is contained in:
@@ -146,3 +146,8 @@ func (s *FileService) DownloadFile(
|
||||
}
|
||||
return file, nil
|
||||
}
|
||||
|
||||
// DeleteFile removes a stored file.
|
||||
func (s *FileService) DeleteFile(ctx context.Context, filename string) error {
|
||||
return s.fileStorage.Delete(ctx, filename)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user