MCPcopy
hub / github.com/kopia/kopia / Less

Method Less

internal/cache/persistent_lru_cache.go:233–235  ·  view source on GitHub ↗
(i, j int)

Source from the content-addressed store, hash-verified

231func (h contentMetadataHeap) Len() int { return len(h.data) }
232
233func (h contentMetadataHeap) Less(i, j int) bool {
234 return h.data[i].Timestamp.Before(h.data[j].Timestamp)
235}
236
237func (h contentMetadataHeap) Swap(i, j int) {
238 iBlobID := h.data[i].BlobID

Calls 1

BeforeMethod · 0.45