Fixes documentation to show that StorageDriver.List is non-recursive

This commit is contained in:
Brian Bland 2014-11-04 09:52:24 -08:00
parent 43716a2850
commit 7daa850d44
5 changed files with 12 additions and 12 deletions

View file

@ -32,8 +32,8 @@ type StorageDriver interface {
// given path
ResumeWritePosition(path string) (uint64, error)
// List recursively lists the objects stored at a subpath of the given prefix
List(prefix string) ([]string, error)
// List returns a list of the objects that are direct descendants of the given path
List(path string) ([]string, error)
// Move moves an object stored at sourcePath to destPath, removing the original object
// Note: This may be no more efficient than a copy followed by a delete for many implementations