Skip to content
Français

RunReportDiff

import type { RunReportDiff } from "@elie-laloum/outpost/core";
  • baselineRequired
    string
    Exact HEAD commit before execution; for several cold passes, the first pass baseline.
  • headRequired
    string
    Exact HEAD commit after synchronization; for several cold passes, the last pass head.
  • filesRequired
    readonly RunReportFile[]
    Git numstat entries between baseline and head with rename detection. A renamed file occupies one entry containing both paths.
  • filesChangedRequired
    number
    Number of changed file entries in the net committed diff; a rename counts once.
  • addedRequired
    number
    Sum of added text lines in the net committed diff; binary entries contribute zero.
  • removedRequired
    number
    Sum of removed text lines in the net committed diff; binary entries contribute zero.
  • binaryFilesRequired
    number
    Number of diff entries Git reports as binary, whose changed lines cannot be counted.
export interface RunReportDiff {
  readonly baseline: string;
  readonly head: string;
  readonly files: readonly RunReportFile[];
  readonly filesChanged: number;
  readonly added: number;
  readonly removed: number;
  readonly binaryFiles: number;
}