Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BytesStore ¶
func NewBytesStore ¶
func NewBytesStore() (bs *BytesStore)
func (*BytesStore) Hash ¶
func (bs *BytesStore) Hash() (hash string, err error)
type FileBasic ¶
type FileBasic struct {
Path string `json:"path"`
Type FileType `json:"type"`
Size int64 `json:"size"`
// directly read write to the file
*os.File
Fs os.FileInfo
fs.DirEntry
}
func NewFileBasic ¶
type FileHash ¶
type FileHash struct {
*FileBasic
Hash string `json:"hash"`
ModTime time.Time `json:"last_mod_time"`
}
func NewFileHashCreate ¶
func NewFileHashOpen ¶
Click to show internal directories.
Click to hide internal directories.