MCPcopy Index your code
hub / github.com/ChrisFeldmeier/OpenCodeRust / clear_session

Method clear_session

crates/opencode-permission/src/engine.rs:186–189  ·  view source on GitHub ↗
(&mut self, session_id: &str)

Source from the content-addressed store, hash-verified

184 }
185
186 pub fn clear_session(&mut self, session_id: &str) {
187 self.pending.remove(session_id);
188 self.approved.remove(session_id);
189 }
190}
191
192impl Default for PermissionEngine {

Callers

nothing calls this directly

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected