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

Function display_pull_progress

crates/lib/src/podman_client.rs:317–445  ·  view source on GitHub ↗

Read NDJSON lines from `reader` and display pull progress. Handles two modes: - **Modern podman** (5.9+, with `pullProgress` support): per-blob byte-level progress bars via indicatif - **Older podman** (5.x): shows status messages from the `stream` field ("Copying blob ...", "Writing manifest ...") as a live spinner

(reader: &mut (impl AsyncBufReadExt + Unpin))

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

pull_via_apiMethod · 0.85

Calls 4

digestMethod · 0.80
finishMethod · 0.80
addMethod · 0.45
is_emptyMethod · 0.45

Tested by

no test coverage detected