1
0
mirror of https://github.com/rclone/rclone.git synced 2025-02-14 21:23:01 +02:00

Document recursion requirements for Fses

This commit is contained in:
Nick Craig-Wood 2016-06-18 14:12:47 +01:00
parent 2a46be8cf3
commit d3dd672640

View File

@ -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)
}