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

Method mark_loaded

crates/opencode-session/src/instruction.rs:536–538  ·  view source on GitHub ↗

Mark a path/URL as already loaded (for external dedup, e.g. tool reads).

(&mut self, key: &str)

Source from the content-addressed store, hash-verified

534
535 /// Mark a path/URL as already loaded (for external dedup, e.g. tool reads).
536 pub fn mark_loaded(&mut self, key: &str) {
537 self.loaded.insert(key.to_string());
538 }
539}
540
541impl Default for InstructionLoader {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected