Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/kopia/kopia
/ reportHitBytes
Method
reportHitBytes
internal/cache/cache_metrics.go:60–63 ·
view source on GitHub ↗
(length int64)
Source
from the content-addressed store, hash-verified
58
}
59
60
func
(s *metricsStruct) reportHitBytes(length int64) {
61
s.metricHitCount.Add(1)
62
s.metricHitBytes.Add(length)
63
}
64
65
func
(s *metricsStruct) reportMalformedData() {
66
s.metricMalformedCacheDataCount.Add(1)
Callers
1
getPartialCacheHit
Method · 0.80
Calls
1
Add
Method · 0.45
Tested by
no test coverage detected