Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChrisFeldmeier/OpenCodeRust
/ success
Method
success
crates/opencode-tui/src/components/dialogs/alert.rs:39–41 ·
view source on GitHub ↗
(message: &str)
Source
from the content-addressed store, hash-verified
37
}
38
39
pub fn success(message: &str) -> Self {
40
Self::new(
"Success"
, message, AlertType::Success)
41
}
42
43
pub fn warning(message: &str) -> Self {
44
Self::new(
"Warning"
, message, AlertType::Warning)
Callers
nothing calls this directly
Calls
1
new
Function · 0.85
Tested by
no test coverage detected