Versions in this module Expand all Collapse all v1 v1.3.4 Feb 16, 2024 Changes in this version + const EmptyString + func FileSizeString(size int64) string + func GetChecksumSHA256(ap string) (cs string, err error) + func GetChecksumSHA256Reader(r io.Reader) (cs string, err error) + type FileObj struct + AbsPath string + Base string + ChecksumSHA256 string + FName string + FPseudoP string + FileSize int64 + Group int + Ignore bool + IgnoreString string + IsDirectoryPart bool + IsFailed bool + IsFailedString string + IsUploaded bool + OriginDir string + OriginPath string + RelRoot string + TagsMap map[string]string + func NewFileObj(ac *conf.AppConfig, p, rel string, grp int) (fo *FileObj, err error) + func (fo *FileObj) FKey() string + func (fo *FileObj) Values() + type FileObjList []*FileObj + func NewFileObjList(ac *conf.AppConfig, files []string, rel string) (fol FileObjList, err error) + func (fol FileObjList) GetStats() (stats Stats) + func (fol FileObjList) MaxGroup() (max int) + func (fol FileObjList) Values() + type RootList []FileObjList + func NewRootList(ac *conf.AppConfig, paths []string) (rl RootList, err error) + func (rl RootList) GetStats() (stats *Stats) + func (rl RootList) Values() + type Stats struct + Bytes int64 + Discrep int + Failed int + Ignored int + Objects int + Uploaded int + func (s *Stats) Add(s2 Stats)