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

Function set_message

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

Set the message of a progress bar. # Arguments `pb` - The progress bar `message` - The new message

(pb: &ProgressBar, message: &str)

Source from the content-addressed store, hash-verified

366/// * `pb` - The progress bar
367/// * `message` - The new message
368pub fn set_message(pb: &ProgressBar, message: &str) {
369 pb.set_message(message.to_string());
370}
371
372/// Check if a progress bar is finished.
373///

Callers 1

test_set_messageFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_set_messageFunction · 0.68