Documentation ¶
Index ¶
Constants ¶
View Source
const ( TAG = "tag_" SPLIT = "/" DIRECTORY = "DIRECTORY_" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetaDriver ¶
type MetaDriver interface { StoreMetaInfoV1(metaInfo *MetaInfo) error StoreMetaInfoV2(metaInfo *MetaInfo) error DeleteFileMetaInfoV1(path string) error DeleteFileMetaInfoV2(path string) error GetDirectoryInfo(path string) ([]string, error) GetDescendantPath(path string) ([]string, error) MoveFile(sourcePath, destPath string) error GetFileMetaInfo(path string, detail bool) ([]*MetaInfoValue, error) GetFragmentMetaInfo(path string, index, start, end uint64) (*MetaInfoValue, error) }
type MetaInfo ¶
type MetaInfo struct { Path string Value *MetaInfoValue }
Click to show internal directories.
Click to hide internal directories.