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
1 changed files with 3 additions and 0 deletions

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