pub struct FixJsonOutput<'a> {
pub dry_run: bool,
pub fixes: &'a [Value],
pub total_fixed: usize,
pub skipped: usize,
pub skipped_content_changed: usize,
pub skipped_mixed_line_endings: usize,
pub skipped_low_confidence_exports: usize,
pub skipped_low_confidence_dependencies: usize,
pub skipped_low_confidence_members: usize,
}Expand description
JSON root emitted by fallow fix --format json.
Fields§
§dry_run: boolTrue when --dry-run was passed and no files were modified.
fixes: &'a [Value]Per-fix entries, applied and skipped alike.
total_fixed: usizeNumber of entries in fixes whose applied flag is true.
skipped: usizeUser-facing skipped entries; excludes plan-level skip diagnostics,
which are reported through the dedicated skipped_* counters.
skipped_content_changed: usizeFixes skipped because file content changed since analysis.
skipped_mixed_line_endings: usizeFixes skipped because the file mixes line endings.
skipped_low_confidence_exports: usizeExport removals skipped because confidence was below the threshold.
skipped_low_confidence_dependencies: usizeDependency removals withheld because the finding carried a reachability caveat. Counted separately from the export withholding so the two names stay honest; both are intentional and neither moves the exit code.
skipped_low_confidence_members: usizeEnum- and class-member removals withheld because the finding carried a
reachability caveat. A third counter for the same reason the second
one exists: a member is neither an export nor a dependency, and
folding it into either name would make that name lie. Intentional,
exit-code-neutral, and 0 on a run that read every file it found.