Documentation ¶
Index ¶
- type GeneralStorage
- func (m *GeneralStorage) Cat(path string) (*store.KVPair, error)
- func (m *GeneralStorage) Dump(path string) ([]byte, error)
- func (m *GeneralStorage) Ls(path string) ([]*store.KVPair, error)
- func (m *GeneralStorage) Mkdir(path string, opt *lib.MkdirOption) error
- func (m *GeneralStorage) Restore(archive []byte) error
- func (m *GeneralStorage) Rm(path string, recursive bool) error
- func (m *GeneralStorage) Touch(path string, data []byte, opts *store.WriteOptions) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GeneralStorage ¶
func (*GeneralStorage) Cat ¶
func (m *GeneralStorage) Cat(path string) (*store.KVPair, error)
{{{ implement Command interface
func (*GeneralStorage) Mkdir ¶
func (m *GeneralStorage) Mkdir(path string, opt *lib.MkdirOption) error
func (*GeneralStorage) Restore ¶
func (m *GeneralStorage) Restore(archive []byte) error
func (*GeneralStorage) Touch ¶
func (m *GeneralStorage) Touch(path string, data []byte, opts *store.WriteOptions) error
Click to show internal directories.
Click to hide internal directories.