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

Method get

crates/opencode-tui/src/command.rs:490–492  ·  view source on GitHub ↗
(&self, name: &str)

Source from the content-addressed store, hash-verified

488 }
489
490 pub fn get(&self, name: &str) -> Option<&SlashCommand> {
491 self.commands.get(name)
492 }
493
494 pub fn search(&self, query: &str) -> Vec<&SlashCommand> {
495 let mut scored: Vec<(&SlashCommand, i32)> = self

Callers 14

get_by_categoryMethod · 0.45
get_sessionMethod · 0.45
get_session_statusMethod · 0.45
delete_sessionMethod · 0.45
get_config_providersMethod · 0.45
list_agentsMethod · 0.45
list_skillsMethod · 0.45
get_mcp_statusMethod · 0.45
remove_mcp_authMethod · 0.45
get_messagesMethod · 0.45
get_lsp_serversMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected