Skip to content
Français

RunReportFile

import type { RunReportFile } from "@elie-laloum/outpost/core";
  • pathsRequired
    readonly string[]
    Repository-relative path, or old and new paths for a rename. Paths retain their literal characters in JSON and are escaped in Markdown.
  • addedRequired
    number
    Added text lines for this file; zero for binary files even when their bytes changed.
  • removedRequired
    number
    Removed text lines for this file; zero for binary files even when their bytes changed.
  • binaryRequired
    boolean
    True when Git numstat cannot count this file’s added and removed lines.
export interface RunReportFile {
  readonly paths: readonly string[];
  readonly added: number;
  readonly removed: number;
  readonly binary: boolean;
}