Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/ChrisFeldmeier/OpenCodeRust
/ as_str
Method
as_str
crates/opencode-tui/src/context/app_context.rs:83–88 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
81
}
82
83
pub fn as_str(self) -> &'static str {
84
match self {
85
Self::Compact =>
"compact"
,
86
Self::Cozy =>
"cozy"
,
87
}
88
}
89
}
90
91
pub struct AppContext {
Callers
15
render_mode
Method · 0.45
render_header
Method · 0.45
render_messages
Method · 0.45
paint_block_lines
Function · 0.45
titlecase
Function · 0.45
new
Method · 0.45
render
Method · 0.45
recompute_suggestions
Method · 0.45
spinner_mode_from_env
Function · 0.45
is_block_tool
Function · 0.45
extract_shell_command
Function · 0.45
extract_path
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected