mirror of
https://github.com/rclone/rclone.git
synced 2025-03-14 08:25:15 +08:00
onedrive: disable server side copy as it seems to be broken
This commit is contained in:
parent
13da1b8d28
commit
29ecc2d8bb
@ -590,7 +590,7 @@ func (f *Fs) waitForJob(location string, o *Object) error {
|
|||||||
// Will only be called if src.Fs().Name() == f.Name()
|
// Will only be called if src.Fs().Name() == f.Name()
|
||||||
//
|
//
|
||||||
// If it isn't possible then return fs.ErrorCantCopy
|
// If it isn't possible then return fs.ErrorCantCopy
|
||||||
func (f *Fs) Copy(src fs.Object, remote string) (fs.Object, error) {
|
func (f *Fs) FIXMEDisabledCopy(src fs.Object, remote string) (fs.Object, error) {
|
||||||
srcObj, ok := src.(*Object)
|
srcObj, ok := src.(*Object)
|
||||||
if !ok {
|
if !ok {
|
||||||
fs.Debug(src, "Can't copy - not same remote type")
|
fs.Debug(src, "Can't copy - not same remote type")
|
||||||
@ -940,7 +940,7 @@ func (o *Object) Remove() error {
|
|||||||
var (
|
var (
|
||||||
_ fs.Fs = (*Fs)(nil)
|
_ fs.Fs = (*Fs)(nil)
|
||||||
_ fs.Purger = (*Fs)(nil)
|
_ fs.Purger = (*Fs)(nil)
|
||||||
// _ fs.Copier = (*Fs)(nil)
|
// FIXME _ fs.Copier = (*Fs)(nil)
|
||||||
// _ fs.Mover = (*Fs)(nil)
|
// _ fs.Mover = (*Fs)(nil)
|
||||||
// _ fs.DirMover = (*Fs)(nil)
|
// _ fs.DirMover = (*Fs)(nil)
|
||||||
_ fs.Object = (*Object)(nil)
|
_ fs.Object = (*Object)(nil)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user