forked from TrueCloudLab/rclone
Document recursion requirements for Fses
This commit is contained in:
parent
2a46be8cf3
commit
d3dd672640
1 changed files with 3 additions and 0 deletions
3
fs/fs.go
3
fs/fs.go
|
@ -105,6 +105,9 @@ type ListFser interface {
|
|||
//
|
||||
// This should return ErrDirNotFound (using out.SetError())
|
||||
// if the directory isn't found.
|
||||
//
|
||||
// Fses must support recursion levels of fs.MaxLevel and 1.
|
||||
// They may return ErrorLevelNotSupported otherwise.
|
||||
List(out ListOpts, dir string)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue