Documentation ¶
Index ¶
Constants ¶
View Source
const ArchiveVersion = "1.0.0"
Variables ¶
Functions ¶
func PrefixError ¶
Types ¶
type ArchiveHeader ¶
type Command ¶
type Command interface { Cat(path string) (*store.KVPair, error) Ls(path string) ([]*store.KVPair, error) Mkdir(path string, opt *MkdirOption) error Rm(path string, recursive bool) error Touch(path string, data []byte, opts *store.WriteOptions) error Dump(path string) ([]byte, error) Restore(archive []byte) error }
type MkdirOption ¶
Click to show internal directories.
Click to hide internal directories.