Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/kopia/kopia
/ Len
Method
Len
internal/cache/persistent_lru_cache.go:231–231 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
229
}
230
231
func
(h contentMetadataHeap) Len() int {
return
len(h.data) }
232
233
func
(h contentMetadataHeap) Less(i, j int) bool {
234
return
h.data[i].Timestamp.Before(h.data[j].Timestamp)
Callers
15
TestContentCacheForData
Function · 0.45
TestMutexMap_ExclusiveLock
Function · 0.45
TestMutexMap_SharedLock
Function · 0.45
TestPersistentLRUCache_SweepMinSweepAge
Function · 0.45
TestPersistentLRUCache_SweepIgnoresErrors
Function · 0.45
TestContentCacheForMetadata
Function · 0.45
TestDiagWriter
Function · 0.45
TestLogManager_Enabled
Function · 0.45
TestLogManager_AutoFlush
Function · 0.45
TestLogManager_CancelledContext
Function · 0.45
TestGenerateServerCertificate
Function · 0.45
TestGetBuffer
Function · 0.45
Calls
no outgoing calls
Tested by
15
TestContentCacheForData
Function · 0.36
TestMutexMap_ExclusiveLock
Function · 0.36
TestMutexMap_SharedLock
Function · 0.36
TestPersistentLRUCache_SweepMinSweepAge
Function · 0.36
TestPersistentLRUCache_SweepIgnoresErrors
Function · 0.36
TestContentCacheForMetadata
Function · 0.36
TestDiagWriter
Function · 0.36
TestLogManager_Enabled
Function · 0.36
TestLogManager_AutoFlush
Function · 0.36
TestLogManager_CancelledContext
Function · 0.36
TestGenerateServerCertificate
Function · 0.36
TestGetBuffer
Function · 0.36