filesystem

package
v0.0.0-...-b45a7ae Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2020 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 FileStorage

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

func New

func New(path string) (*FileStorage, error)

func (*FileStorage) CollectReferences

func (f *FileStorage) CollectReferences() ([]string, error)

func (*FileStorage) Delete

func (f *FileStorage) Delete(reference string) error

func (*FileStorage) GetValue

func (f *FileStorage) GetValue(reference string) (fields.StoredFileValue, error)

func (*FileStorage) Persist

func (f *FileStorage) Persist(value fields.FileValue) (fields.StoredFileValue, error)

Jump to

Keyboard shortcuts

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