MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / warning

Method warning

crates/opencode-tui/src/components/dialogs/alert.rs:43–45  ·  view source on GitHub ↗
(message: &str)

Source from the content-addressed store, hash-verified

41 }
42
43 pub fn warning(message: &str) -> Self {
44 Self::new("Warning", message, AlertType::Warning)
45 }
46
47 pub fn error(message: &str) -> Self {
48 Self::new("Error", message, AlertType::Error)

Callers

nothing calls this directly

Calls 1

newFunction · 0.85

Tested by

no test coverage detected