Skip to main content

json_subtasks

Function json_subtasks 

Source
fn json_subtasks<'a>(
    active: &'a HashMap<ComponentId, ActiveComponent>,
) -> (Vec<SubTaskBytes<'a>>, u64, u64)
Expand description

Rebuild the JSON-Lines subtask list from the currently in-flight byte-oriented components (composefs-rs does not expose object-count progress in a form the ProgressBytes schema can represent, so [ProgressUnit::Items] components only drive the terminal UI).