posix

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PosixStorage

type PosixStorage struct {
	// contains filtered or unexported fields
}

func New

func New(baseDir string) (*PosixStorage, error)

func (*PosixStorage) DeleteObject

func (s *PosixStorage) DeleteObject(p string) error

func (*PosixStorage) List

func (s *PosixStorage) List(prefix, startWith, delimiter string, doneCh <-chan struct{}) <-chan types.ObjectInfo

func (*PosixStorage) ReadObject

func (s *PosixStorage) ReadObject(p string) (types.ReadSeekCloser, error)

func (*PosixStorage) Stat

func (s *PosixStorage) Stat(p string) (*types.ObjectInfo, error)

func (*PosixStorage) WriteObject

func (s *PosixStorage) 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