MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / with_cache

Method with_cache

crates/opencode-session/src/compaction.rs:107–112  ·  view source on GitHub ↗
(mut self, read: u64, write: u64)

Source from the content-addressed store, hash-verified

105 }
106
107 pub fn with_cache(mut self, read: u64, write: u64) -> Self {
108 self.cache_read = read;
109 self.cache_write = write;
110 self.total = self.input + self.output + read + write;
111 self
112 }
113}
114
115#[derive(Debug, Clone)]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected