Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithHasher ¶
func WithHasher(h hasher) tixOpt
func WithMaxHashers ¶
func WithMaxHashers(m int) tixOpt
func WithWalker ¶
func WithWalker(w walker) tixOpt
Types ¶
type Item ¶
type Item struct {
ItemID id64.ID64 // random ID
Path string // full path used to identify the file
Name string // basename of the file
Size int64 // in bytes
MTime time.Time // modification time
CTime time.Time // inode change time (only on unix)
Hash map[string]string // any number of hashes, with 1 per algorithm
Tags tag.List // ordered list of tags assiged to this item
}
Click to show internal directories.
Click to hide internal directories.