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

Method warning

crates/opencode-tui/src/components/dialogs/status.rs:56–61  ·  view source on GitHub ↗
(text: impl Into<String>)

Source from the content-addressed store, hash-verified

54 }
55
56 pub fn warning(text: impl Into<String>) -> Self {
57 Self {
58 text: text.into(),
59 kind: StatusLineKind::Warning,
60 }
61 }
62
63 pub fn error(text: impl Into<String>) -> Self {
64 Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected