pub fn compute_post_summary(
items: &[PackageItem],
success: Option<bool>,
) -> PostSummaryDataExpand description
What: Produce a best-effort summary of potential post-transaction tasks.
Inputs:
items: Packages that were part of the transaction and should inform the summary.success: Execution result:Some(true)for success,Some(false)for failure,Noneif unknown.
Output:
- Returns a
PostSummaryDatastructure with file counts, service hints, and conflict tallies.
Details:
- Combines sync database lookups with an
/etcscan without performing system modifications. - Uses the provided
successflag to indicate transaction outcome, defaulting tofalseif unknown.