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

Method as_str

crates/opencode-cli/src/main.rs:358–364  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

356
357impl AgentFileMode {
358 fn as_str(&self) -> &'static str {
359 match self {
360 Self::All => "all",
361 Self::Primary => "primary",
362 Self::Subagent => "subagent",
363 }
364 }
365}
366
367#[derive(Subcommand)]

Callers 15

infer_language_idFunction · 0.45
consume_remote_sseFunction · 0.45
handle_stats_commandFunction · 0.45
parseMethod · 0.45
latest_versionFunction · 0.45
list_modelsFunction · 0.45
select_lsp_serverFunction · 0.45
github_actorFunction · 0.45
build_prompt_data_for_prFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected