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

Method loaded_set

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

Return the set of already-loaded paths/URLs.

(&self)

Source from the content-addressed store, hash-verified

529
530 /// Return the set of already-loaded paths/URLs.
531 pub fn loaded_set(&self) -> &HashSet<String> {
532 &self.loaded
533 }
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) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected