Expand description
Preflight summary computation helpers.
The routines in this module gather package metadata, estimate download and
install deltas, and derive risk heuristics used to populate the preflight
modal. All command execution is abstracted behind CommandRunner so the
logic can be exercised in isolation.
Structs§
- Preflight
Summary Outcome - What: Outcome of preflight summary computation.
- System
Command Runner - What: Real command runner backed by
std::process::Command.
Enums§
- Command
Error - What: Error type capturing command spawning, execution, and decoding failures.
Traits§
- Command
Runner - What: Abstract command execution interface used for spawning helper
binaries such as
pacman.
Functions§
- compute_
preflight_ summary - What: Compute preflight summary data using the system command runner.
- compute_
preflight_ summary_ with_ runner - What: Compute preflight summary data using a custom command runner.