storage.ObjectStorage List() is now List(objectPath string)

This commit is contained in:
Frederick F. Kautz IV
2014-12-15 15:55:35 +13:00
parent 16e92521bd
commit 5efc0d54f8
6 changed files with 23 additions and 18 deletions

View File

@@ -3,7 +3,7 @@ package storage
import "io"
type ObjectStorage interface {
List() ([]ObjectDescription, error)
List(objectPath string) ([]ObjectDescription, error)
Get(path string) (io.Reader, error)
Put(path string, object io.Reader) error
}