filesystem

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

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

func New

func New(root string) (*Store, error)

func NewProvider

func NewProvider() (*Store, error)

func (*Store) Delete

func (s *Store) Delete(_ context.Context, key string) error

func (*Store) Get

func (s *Store) Get(_ context.Context, key string) (io.ReadCloser, error)

func (*Store) GetRange

func (s *Store) GetRange(_ context.Context, key string, offset, length int64) (io.ReadCloser, error)

func (*Store) Head

func (s *Store) Head(_ context.Context, key string) (*blob.ObjectInfo, error)

func (*Store) Name

func (s *Store) Name() string

func (*Store) Put

func (s *Store) Put(_ context.Context, key string, r io.Reader, _ blob.PutOptions) error

func (*Store) SignedGetURL

func (s *Store) SignedGetURL(_ context.Context, _ string, _ time.Duration) (string, error)

Jump to

Keyboard shortcuts

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