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

Function print_info

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

Print an informational message to stdout. The message is formatted in cyan with an info prefix. # Arguments `message` - The message to print # Example ```rust,ignore print_info("Processing 42 files..."); // Output: ℹ Processing 42 files... ```

(message: &str)

Source from the content-addressed store, hash-verified

174/// // Output: ℹ Processing 42 files...
175/// ```
176pub fn print_info(message: &str) {
177 crate::logging::printed(crate::logging::Printed::Info, message);
178 if live::capture(live::Kind::Info, message) {
179 return;
180 }
181 println!("{} {}", info("ℹ"), info(message));
182}
183
184/// Print a hint/suggestion message to stdout.
185///

Callers 15

runMethod · 0.85
print_diagnosisFunction · 0.85
statusFunction · 0.85
doctor_checkFunction · 0.85
insert_singleFunction · 0.85
insert_from_viewFunction · 0.85
insert_up_to_tagFunction · 0.85
insert_changesFunction · 0.85
insert_promoteFunction · 0.85
view_splitFunction · 0.85

Calls 2

printedFunction · 0.85
captureFunction · 0.70

Tested by

no test coverage detected