Skip to main content

detect_multiarch_hints

Function detect_multiarch_hints 

Source
pub fn detect_multiarch_hints(
    ws: &dyn Workspace,
    hints: &HashMap<&str, Vec<&Hint>>,
    minimum_certainty: Certainty,
) -> Result<Vec<(Change, ActionPlan)>, Error>
Expand description

Detect which multiarch hints apply to the given workspace.

Returns one (Change, ActionPlan) per applicable hint. The Change describes what would change (for commit messages / logging); the ActionPlan carries the file edits to apply via apply_actions.