Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LocalStore ¶
type LocalStore interface { MetadataStore KeyStore TargetStore Clean() error Commit(meta map[string]json.RawMessage, consistentSnapshot bool, hashes map[string]data.Hashes) error }
func FileSystemStore ¶
func FileSystemStore(dir string, p util.PassphraseFunc) LocalStore
func MemoryStore ¶
func MemoryStore(meta map[string]json.RawMessage, files map[string][]byte) LocalStore
type MetadataStore ¶
type MetadataStore interface { GetMeta(name string) (json.RawMessage, error) SetMeta(name string, blob json.RawMessage) error }
type TargetStore ¶
Click to show internal directories.
Click to hide internal directories.