MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / mark_progress_detail

Function mark_progress_detail

crates/openshell-core/src/progress.rs:34–39  ·  view source on GitHub ↗
(
    metadata: &mut HashMap<String, String, S>,
    detail: impl Into<String>,
)

Source from the content-addressed store, hash-verified

32}
33
34pub fn mark_progress_detail<S: BuildHasher>(
35 metadata: &mut HashMap<String, String, S>,
36 detail: impl Into<String>,
37) {
38 metadata.insert(PROGRESS_ACTIVE_DETAIL_KEY.to_string(), detail.into());
39}
40
41/// Format a byte count as a human-readable string (B / KB / MB / GB).
42///

Calls

no outgoing calls

Tested by

no test coverage detected