posixflat

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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

func (s *PosixFlatStorage) WriteObject(p string, data io.Reader, size int64, persist bool) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL