Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FTStatsSum ¶
func FTStatsSum(dbfile string, paths []string) (types.FileTypeStats, error)
FTStatsSum returns the summary FileTypeStats for the given paths as a map of FTypeStat per File Type Paths can be files or directories. The summary is counted like this for the respective path format path="/my/dir/*" => count /my/dir/ and below recursively path="/my/dir*/*" => count all dirs matching /my/dir*/ and below recursively path="/my/dir/" => count ony the contents of /my/dir/ path="/my/dir*/" => count ony the contents of dirs matching /my/dir*/ path="/my/file" => count only "/my/file" path="/my/file*" => count all files matching "/my/file*"
func FTStatsSumDB ¶
func FTStatsSumDB(dbconn *ftsdb.FileTypeStatsDB, paths []string) (types.FileTypeStats, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.