You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
minio/pkgs/storage/storage.go

14 lines
246 B

package storage
type ObjectStorage interface {
List(path string) ([]ObjectDescription, error)
Get(path string) ([]byte, error)
Put(path string, object []byte) error
}
type ObjectDescription struct {
Path string
IsDir bool
Hash string
}