type alias GitScanFailure

The failure a git-change scan declares — the E of its Task, the Err of .result().

const failure: GitScanFailure = GitScanFailed({ ref: 'main', reason: 'timed out' });
failure.data.ref; // 'main' — typed payload, no message parsing

Definition

Failure.Of<GitScanFailed>

Usage

import { type GitScanFailure } from "lib/utils/get-changed-file-paths-in-git-since.ts";