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

Function set_message

atomic-cli/src/output/progress.rs:389–391  ·  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

387/// * `pb` - The progress bar
388/// * `message` - The new message
389pub fn set_message(pb: &ProgressBar, message: &str) {
390 pb.set_message(message.to_string());
391}
392
393/// Check if a progress bar is finished.
394///

Callers 1

test_set_messageFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_set_messageFunction · 0.68