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.
Re-exports§
pub use command::CommandError;pub use command::CommandRunner;pub use command::SystemCommandRunner;
Modules§
- guardrails
- Pre-transaction guardrails: pacman db-lock detection, disk-space checks, and sync-database freshness checks with actionable guidance.
Structs§
- Preflight
Summary Outcome - What: Outcome of preflight summary computation.
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.