Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChrisFeldmeier/OpenCodeRust
/ AgentFileMode
Enum
AgentFileMode
crates/opencode-cli/src/main.rs:351–355 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
349
350
#[derive(Clone, Debug, ValueEnum)]
351
enum AgentFileMode {
352
All,
353
Primary,
354
Subagent,
355
}
356
357
impl AgentFileMode {
358
fn as_str(&self) -> &'static str {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected