Documentation ¶
Index ¶
- type EscapeError
- type PosixFlatStorage
- func (s *PosixFlatStorage) DeleteObject(p string) error
- func (s *PosixFlatStorage) List(prefix, startWith, delimiter string, doneCh <-chan struct{}) <-chan types.ObjectInfo
- func (s *PosixFlatStorage) ReadObject(p string) (types.ReadSeekCloser, error)
- func (s *PosixFlatStorage) Stat(p string) (*types.ObjectInfo, error)
- func (s *PosixFlatStorage) WriteObject(p string, data io.Reader, size int64, persist bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EscapeError ¶
type EscapeError string
func (EscapeError) Error ¶
func (e EscapeError) Error() string
type PosixFlatStorage ¶
type PosixFlatStorage struct {
// contains filtered or unexported fields
}
func New ¶
func New(baseDir string) (*PosixFlatStorage, error)
func (*PosixFlatStorage) DeleteObject ¶
func (s *PosixFlatStorage) DeleteObject(p string) error
func (*PosixFlatStorage) List ¶
func (s *PosixFlatStorage) List(prefix, startWith, delimiter string, doneCh <-chan struct{}) <-chan types.ObjectInfo
func (*PosixFlatStorage) ReadObject ¶
func (s *PosixFlatStorage) ReadObject(p string) (types.ReadSeekCloser, error)
func (*PosixFlatStorage) Stat ¶
func (s *PosixFlatStorage) Stat(p string) (*types.ObjectInfo, error)
func (*PosixFlatStorage) WriteObject ¶
Click to show internal directories.
Click to hide internal directories.