Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for updateCacheEntry (0.06 sec)

  1. cmd/metacache-bucket.go

    					remove[cache.id] = struct{}{}
    				}
    			}
    		}
    	}
    
    	for id := range remove {
    		b.deleteCache(id)
    	}
    }
    
    // updateCacheEntry will update a cache.
    // Returns the updated status.
    func (b *bucketMetacache) updateCacheEntry(update metacache) (metacache, error) {
    	b.mu.Lock()
    	defer b.mu.Unlock()
    	existing, ok := b.caches[update.id]
    	if !ok {
    		return update, errFileNotFound
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  2. cmd/metacache-set.go

    }
    
    // updateMetacacheListing will update the metacache listing.
    func (o *listPathOptions) updateMetacacheListing(m metacache, rpc *peerRESTClient) (metacache, error) {
    	if rpc == nil {
    		return localMetacacheMgr.updateCacheEntry(m)
    	}
    	return rpc.UpdateMetacacheListing(context.Background(), m)
    }
    
    func getMetacacheBlockInfo(fi FileInfo, block int) (*metacacheBlock, error) {
    	var tmp metacacheBlock
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 30.7K bytes
    - Viewed (0)
Back to top