aboutsummaryrefslogtreecommitdiff
path: root/backend/studip/fs.go
diff options
context:
space:
mode:
Diffstat (limited to 'backend/studip/fs.go')
-rw-r--r--backend/studip/fs.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/backend/studip/fs.go b/backend/studip/fs.go
index ad5643c..077db35 100644
--- a/backend/studip/fs.go
+++ b/backend/studip/fs.go
@@ -1033,8 +1033,8 @@ func (f *Fs) Features() *fs.Features {
CanHaveEmptyDirectories: true,
CaseInsensitive: true,
//ReadMimeType: true,
+ Copy: ServerSideCopy,
// TODO: Implement these
- Copy: nil,
Move: nil,
DirMove: nil,
// implement this
@@ -1043,6 +1043,11 @@ func (f *Fs) Features() *fs.Features {
Fill(context.Background(), f)
}
+// TODO: implement this
+func ServerSideCopy(ctx context.Context, src fs.Object, remote string) (fs.Object, error) {
+ return nil, fs.ErrorNotImplemented
+}
+
func (f *Fs) NewObject(ctx context.Context, remote string) (fs.Object, error) {
if ctx.Err() != nil {
return nil, ctx.Err()