fs

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: May 29, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(_, instName string, _, inlineArgs []string) (module.Module, error)

Types

type FSStore

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

FSStore struct represents directory on FS used to store blobs.

func (*FSStore) Create

func (s *FSStore) Create(_ context.Context, key string, blobSize int64) (module.Blob, error)

func (*FSStore) Delete

func (s *FSStore) Delete(_ context.Context, keys []string) error

func (*FSStore) Init

func (s *FSStore) Init(cfg *config.Map) error

func (FSStore) InstanceName

func (s FSStore) InstanceName() string

func (FSStore) Name

func (s FSStore) Name() string

func (*FSStore) Open

func (s *FSStore) Open(_ context.Context, key string) (io.ReadCloser, error)

Jump to

Keyboard shortcuts

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