MCPcopy Index your code
hub / github.com/Firstyear/opensuse-proxy-cache / update

Method update

arc-disk-cache/src/lib.rs:52–58  ·  view source on GitHub ↗
(&mut self, tstats: TraceStat)

Source from the content-addressed store, hash-verified

50
51impl CacheStats {
52 fn update(&mut self, tstats: TraceStat) {
53 self.p_weight = tstats.p_weight;
54 self.shared_max = tstats.shared_max;
55 self.freq = tstats.freq;
56 self.recent = tstats.recent;
57 self.all_seen_keys = tstats.all_seen_keys;
58 }
59}
60
61#[derive(Debug, Default)]

Callers 5

getMethod · 0.80
insertMethod · 0.80
update_userdataMethod · 0.80
update_all_userdataMethod · 0.80
removeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected