Skip to main content

Module fixes

Module fixes 

Source
Expand description

Deciding which fixes to apply, and applying them.

Structs§

FixOutcome
What happened to one finding’s fix.

Enums§

FixPolicy
Whether offered fixes are applied.

Traits§

FixExecutor
Carries out a FixAction.

Functions§

apply_fixes
Offer every finding’s fix under policy. An action identical to one already handled in this run (several findings can share one fix) is neither asked about nor executed again: the later finding gets the same outcome.
policy_for
The policy for one run. doctor changes nothing unless --fix is given; --yes applies everything; without a terminal on stdin there is nobody to ask, so nothing is applied.