mirror of
https://github.com/rclone/rclone.git
synced 2024-11-25 18:04:55 +01:00
hidrive: remove unused code (fixes issue reported by the unused linter)
This commit is contained in:
parent
a1a8c21c70
commit
cc885bd39a
@ -294,15 +294,6 @@ func (f *Fs) copyOrMove(ctx context.Context, isDirectory bool, operationType Cop
|
|||||||
return &result, nil
|
return &result, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// copyDirectory moves the directory at the source-path to the destination-path and
|
|
||||||
// returns the resulting api-object if successful.
|
|
||||||
//
|
|
||||||
// The operation will only be successful
|
|
||||||
// if the parent-directory of the destination-path exists.
|
|
||||||
func (f *Fs) copyDirectory(ctx context.Context, source string, destination string, onExist OnExistAction) (*api.HiDriveObject, error) {
|
|
||||||
return f.copyOrMove(ctx, true, CopyOriginalPreserveModTime, source, destination, onExist)
|
|
||||||
}
|
|
||||||
|
|
||||||
// moveDirectory moves the directory at the source-path to the destination-path and
|
// moveDirectory moves the directory at the source-path to the destination-path and
|
||||||
// returns the resulting api-object if successful.
|
// returns the resulting api-object if successful.
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user