Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for newMetacache (0.16 sec)

  1. cmd/metacache-bucket.go

    		return c
    	}
    
    	if !o.Create {
    		return metacache{
    			id:     o.ID,
    			bucket: o.Bucket,
    			status: scanStateNone,
    		}
    	}
    
    	// Create new and add.
    	best := o.newMetacache()
    	b.caches[o.ID] = best
    	b.cachesRoot[best.root] = append(b.cachesRoot[best.root], best.id)
    	b.updated = true
    	b.debugf("returning new cache %s, bucket: %v", best.id, best.bucket)
    	return best
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.6K bytes
    - Viewed (0)
Back to top