Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for newObjInfoCache (0.11 sec)

  1. cmd/batch-expire.go

    	batchExpireAPIVersion           = "v1"
    	batchExpireJobDefaultRetries    = 3
    	batchExpireJobDefaultRetryDelay = 250 * time.Millisecond
    )
    
    type objInfoCache map[string]*ObjectInfo
    
    func newObjInfoCache() objInfoCache {
    	return objInfoCache(make(map[string]*ObjectInfo))
    }
    
    func (oiCache objInfoCache) Add(toDel ObjectToDelete, oi *ObjectInfo) {
    	oiCache[fmt.Sprintf("%s-%s", toDel.ObjectName, toDel.VersionID)] = oi
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
Back to top