Versions in this module Expand all Collapse all v1 v1.1.1 Jan 20, 2024 v1.0.1 Dec 21, 2023 Changes in this version + const EmptyHash + func Append(basePath string, fileHashs FileHashs) + func Backup(basePath string) + func Defragment(basePath string) + func NewFileHashsBuffer(basePath string, maxGBytes int64, afterFlashHook func()) fileHashsBuffer + type FileHash struct + Created time.Time + Hash string + ModTime time.Time + RelativePath string + Size int64 + func (fh *FileHash) Equal(o FileHash) bool + type FileHashMap map[string]FileHash + func (fhm *FileHashMap) Remove(relativePath string) + func (fhm FileHashMap) Has(relativePath string) bool + type FileHashs []FileHash + func LoadContent(basePath string) FileHashs + func (fs FileHashs) DefragmentedMap() FileHashMap + func (fs FileHashs) Len() int + func (fs FileHashs) Less(i, j int) bool + func (fs FileHashs) Swap(i, j int) + func (fs FileHashs) TotalBytes() (s int64)