MCPcopy Create free account
hub / github.com/bootc-dev/bootc / print_layer_status

Function print_layer_status

crates/ostree-ext/src/cli.rs:672–677  ·  view source on GitHub ↗

Write the status of layers to download.

(prep: &PreparedImport)

Source from the content-addressed store, hash-verified

670
671/// Write the status of layers to download.
672pub fn print_layer_status(prep: &PreparedImport) {
673 if let Some(status) = prep.format_layer_status() {
674 println!("{status}");
675 let _ = std::io::stdout().flush();
676 }
677}
678
679/// Write a deprecation notice, and sleep for 3 seconds.
680pub async fn print_deprecated_warning(msg: &str) {

Callers 3

prepare_for_pullFunction · 0.85
prepare_for_pull_unifiedFunction · 0.85
container_storeFunction · 0.85

Calls 1

format_layer_statusMethod · 0.80

Tested by

no test coverage detected