mirror of
https://github.com/minio/minio.git
synced 2025-01-04 19:43:21 -05:00
f6a5b61b00
- init folder if not present already in 'get()' call - put.go was referencing wrong args - fix it - if no OBJECTNAME is specified during 'get' - grab a list of files under "~/.minio" - Provide new API GetList() for ObjectStorage struct
8 lines
150 B
Go
8 lines
150 B
Go
package storage
|
|
|
|
type ObjectStorage interface {
|
|
GetList() ([]byte, error)
|
|
Get(path string) ([]byte, error)
|
|
Put(path string, object []byte) error
|
|
}
|