pub fn prune_dead_code_baseline(
content: &str,
results: &AnalysisResults,
root: &Path,
identity: &SemanticAnalysisIdentity,
mode: BaselineMode,
) -> Result<BaselinePrune, BaselinePruneRefusal>Expand description
Prune a dead-code baseline (the format fallow dead-code --save-baseline
writes) against the results of a whole-project run.
ยงErrors
Returns BaselinePruneRefusal when the file is not a canonical dead-code
baseline of the same analysis identity, or when mode differs from the mode
the file records.