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

Method get

crates/opencode-agent/src/agent.rs:606–608  ·  view source on GitHub ↗
(&self, name: &str)

Source from the content-addressed store, hash-verified

604 }
605
606 pub fn get(&self, name: &str) -> Option<&AgentInfo> {
607 self.agents.get(name)
608 }
609
610 pub fn get_mut(&mut self, name: &str) -> Option<&mut AgentInfo> {
611 self.agents.get_mut(name)

Calls

no outgoing calls