mirror of
https://github.com/rclone/rclone.git
synced 2025-01-19 23:12:44 +08:00
fs: add fs.ErrorCantUploadEmptyFiles
Any backends which can't upload 0 length files should return this errror.
This commit is contained in:
parent
38ebdf54be
commit
6ff7b2eaab
1
fs/fs.go
1
fs/fs.go
|
@ -51,6 +51,7 @@ var (
|
|||
ErrorCantCopy = errors.New("can't copy object - incompatible remotes")
|
||||
ErrorCantMove = errors.New("can't move object - incompatible remotes")
|
||||
ErrorCantDirMove = errors.New("can't move directory - incompatible remotes")
|
||||
ErrorCantUploadEmptyFiles = errors.New("can't upload empty files to this remote")
|
||||
ErrorDirExists = errors.New("can't copy directory - destination already exists")
|
||||
ErrorCantSetModTime = errors.New("can't set modified time")
|
||||
ErrorCantSetModTimeWithoutDelete = errors.New("can't set modified time without deleting existing object")
|
||||
|
|
Loading…
Reference in New Issue
Block a user