mirror of
https://github.com/rclone/rclone.git
synced 2025-12-11 22:14:05 +01:00
local, yandex, dropbox: fix NewObject suceeding on a directory #1079
Add tests to make it consistent across all remotes
This commit is contained in:
1
fs/fs.go
1
fs/fs.go
@@ -42,6 +42,7 @@ var (
|
||||
ErrorListAborted = errors.New("list aborted")
|
||||
ErrorListOnlyRoot = errors.New("can only list from root")
|
||||
ErrorIsFile = errors.New("is a file not a directory")
|
||||
ErrorNotAFile = errors.New("is a not a regular file")
|
||||
ErrorNotDeleting = errors.New("not deleting files as there were IO errors")
|
||||
ErrorCantMoveOverlapping = errors.New("can't move files on overlapping remotes")
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user