mirror of
https://github.com/rclone/rclone.git
synced 2025-12-11 22:14:05 +01:00
fstests: List missing dir must return ErrorDirNotFound for non bucket based remotes
List or ListR of an non existent directory must return ErrorDirNotFound for non bucket based remotes. For bucket based remotes it may return ErrorDirNotFound or it may return no error and no entries.
This commit is contained in:
@@ -19,4 +19,8 @@ There are several related list commands
|
||||
Note that ` + "`ls`,`lsl`,`lsd`" + ` all recurse by default - use "--max-depth 1" to stop the recursion.
|
||||
|
||||
The other list commands ` + "`lsf`,`lsjson`" + ` do not recurse by default - use "-R" to make them recurse.
|
||||
|
||||
Listing a non existent directory will produce an error except for
|
||||
remotes which can't have empty directories (eg s3, swift, gcs, etc -
|
||||
the bucket based remotes).
|
||||
`
|
||||
|
||||
Reference in New Issue
Block a user