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

Method set_idle

crates/opencode-session/src/session.rs:250–252  ·  view source on GitHub ↗
(&mut self, session_id: &str)

Source from the content-addressed store, hash-verified

248 }
249
250 pub fn set_idle(&mut self, session_id: &str) {
251 self.set(session_id, RunStatus::Idle);
252 }
253
254 pub fn remove(&mut self, session_id: &str) {
255 self.states.remove(session_id);

Callers

nothing calls this directly

Calls 1

setMethod · 0.45

Tested by

no test coverage detected