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

Function print_warning

atomic-cli/src/output/mod.rs:141–143  ·  view source on GitHub ↗

Print a warning message to stderr. The message is formatted in yellow with a warning prefix. # Arguments `message` - The message to print # Example ```rust,ignore print_warning("File will be overwritten"); // Output: ⚠ File will be overwritten ```

(message: &str)

Source from the content-addressed store, hash-verified

139/// // Output: ⚠ File will be overwritten
140/// ```
141pub fn print_warning(message: &str) {
142 eprintln!("{} {}", warning("⚠"), warning(message));
143}
144
145/// Print an informational message to stdout.
146///

Callers 15

run_pushMethod · 0.85
apply_stashMethod · 0.85
runMethod · 0.85
print_resultsMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85
import_sidecarsFunction · 0.85
print_insert_outcomeFunction · 0.85
print_conflict_summaryFunction · 0.85
print_cross_view_outcomeFunction · 0.85
runMethod · 0.85

Calls

no outgoing calls

Tested by 2

show_summaryMethod · 0.68
list_allMethod · 0.68