- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for generateUsageTestFiles (0.22 sec)
-
cmd/data-usage_test.go
const filesBelowT = dataScannerCompactLeastObject / 2 const filesAboveT = dataScannerCompactAtFolders + 1 const expectSize = foldersBelow*filesBelowT + filesAboveT generateUsageTestFiles(t, base, "bucket/dirwithalot", foldersBelow, filesBelowT, 1) generateUsageTestFiles(t, base, "bucket/dirwithevenmore", filesAboveT, 1, 1) getSize := func(item scannerItem) (sizeS sizeSummary, err error) { if item.Typ&os.ModeDir == 0 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 04 22:23:33 UTC 2024 - 14.7K bytes - Viewed (0)