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

Method success

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

Source from the content-addressed store, hash-verified

47 }
48
49 pub fn success(text: impl Into<String>) -> Self {
50 Self {
51 text: text.into(),
52 kind: StatusLineKind::Success,
53 }
54 }
55
56 pub fn warning(text: impl Into<String>) -> Self {
57 Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected