Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for findChildrenCopy (0.11 sec)

  1. cmd/data-usage-cache.go

    func (d *dataUsageCache) isCompacted(h dataUsageHash) bool {
    	due, ok := d.Cache[h.Key()]
    	if !ok {
    		return false
    	}
    	return due.Compacted
    }
    
    // findChildrenCopy returns a copy of the children of the supplied hash.
    func (d *dataUsageCache) findChildrenCopy(h dataUsageHash) dataUsageHashMap {
    	ch := d.Cache[h.String()].Children
    	res := make(dataUsageHashMap, len(ch))
    	for k := range ch {
    		res[k] = struct{}{}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  2. cmd/data-scanner.go

    	for {
    		select {
    		case <-done:
    			return ctx.Err()
    		default:
    		}
    		var abandonedChildren dataUsageHashMap
    		if !into.Compacted {
    			abandonedChildren = f.oldCache.findChildrenCopy(thisHash)
    		}
    
    		// If there are lifecycle rules for the prefix.
    		_, prefix := path2BucketObjectWithBasePath(f.root, folder.name)
    		var activeLifeCycle *lifecycle.Lifecycle
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
Back to top