- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for addFiles (0.17 sec)
-
cmd/data-usage-cache.go
type allTierStats struct { Tiers map[string]tierStats `msg:"ts"` } func newAllTierStats() *allTierStats { return &allTierStats{ Tiers: make(map[string]tierStats), } } func (ats *allTierStats) addSizes(tiers map[string]tierStats) { for tier, st := range tiers { ats.Tiers[tier] = ats.Tiers[tier].add(st) } } func (ats *allTierStats) merge(other *allTierStats) { for tier, st := range other.Tiers {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Apr 22 17:49:30 GMT 2024 - 41.4K bytes - Viewed (1) -
cmd/data-scanner.go
// simply because getSize() function already heals the // object. delete(abandonedChildren, pathJoin(item.bucket, item.objectPath())) if err != errIgnoreFileContrib { into.addSizes(sz) into.Objects++ } wait() // wait to proceed to next entry. return nil }) if err != nil { return err } if foundObjects && globalIsErasure {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri May 03 11:18:58 GMT 2024 - 47.6K bytes - Viewed (0)