From 3c1069c815afad08d80a513d7a379682ea67948f Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Sun, 22 Nov 2015 11:04:16 +0000 Subject: [PATCH] onedrive: re-enable server side copy --- onedrive/onedrive.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/onedrive/onedrive.go b/onedrive/onedrive.go index 2fc2bc873..73a82a6af 100644 --- a/onedrive/onedrive.go +++ b/onedrive/onedrive.go @@ -590,7 +590,7 @@ func (f *Fs) waitForJob(location string, o *Object) error { // Will only be called if src.Fs().Name() == f.Name() // // If it isn't possible then return fs.ErrorCantCopy -func (f *Fs) FIXMEDisabledCopy(src fs.Object, remote string) (fs.Object, error) { +func (f *Fs) Copy(src fs.Object, remote string) (fs.Object, error) { srcObj, ok := src.(*Object) if !ok { fs.Debug(src, "Can't copy - not same remote type") @@ -940,7 +940,7 @@ func (o *Object) Remove() error { var ( _ fs.Fs = (*Fs)(nil) _ fs.Purger = (*Fs)(nil) - // FIXME _ fs.Copier = (*Fs)(nil) + _ fs.Copier = (*Fs)(nil) // _ fs.Mover = (*Fs)(nil) // _ fs.DirMover = (*Fs)(nil) _ fs.Object = (*Object)(nil)