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

Function warning_style

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

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

()

Source from the content-addressed store, hash-verified

363///
364/// Format: `⚠ Message` (in yellow)
365fn warning_style() -> ProgressStyle {
366 ProgressStyle::with_template("{prefix:.yellow} {msg:.yellow}")
367 .expect("Invalid warning template")
368 .tick_chars("⚠ ")
369}
370
371// Utility Functions
372

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