MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / warning_style

Function warning_style

atomic-cli/src/output/progress.rs:344–348  ·  view source on GitHub ↗

Get the warning completion style. Format: `⚠ Message` (in yellow)

()

Source from the content-addressed store, hash-verified

342///
343/// Format: `⚠ Message` (in yellow)
344fn warning_style() -> ProgressStyle {
345 ProgressStyle::with_template("{prefix:.yellow} {msg:.yellow}")
346 .expect("Invalid warning template")
347 .tick_chars("⚠ ")
348}
349
350// Utility Functions
351

Callers 2

finish_warningFunction · 0.85
test_styles_dont_panicFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_styles_dont_panicFunction · 0.68