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

Function set_position

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

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

(pb: &ProgressBar, pos: u64)

Source from the content-addressed store, hash-verified

377/// * `pb` - The progress bar
378/// * `pos` - The new position
379pub fn set_position(pb: &ProgressBar, pos: u64) {
380 pb.set_position(pos);
381}
382
383/// Set the message of a progress bar.
384///

Callers 1

Calls 1

set_positionMethod · 0.80

Tested by 1