store

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2021 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 {
	Dir string
}

func NewStore

func NewStore(dir string) (*Store, error)

func (*Store) Location

func (s *Store) Location(loc string, redact bool) (string, bool)

func (*Store) ReadFile

func (s *Store) ReadFile(loc string) ([]byte, error)

func (*Store) WriteFile

func (s *Store) WriteFile(loc string, b []byte, m os.FileMode) error

Jump to

Keyboard shortcuts

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