Skip to content
Français

SpeculativeHostSnapshot

import type { SpeculativeHostSnapshot } from "@elie-laloum/outpost";
  • headRequired
    string
    HEAD commit of the checkout.
  • branchRequired
    string
    Current branch name, or HEAD when detached.
  • fingerprintRequired
    string
    SHA-256 of HEAD, the uncommitted diff and untracked files, compared across snapshots to detect edits.
  • dirtyRequired
    boolean
    True when tracked or untracked changes exist outside .outpost.
export interface SpeculativeHostSnapshot {
  readonly head: string;
  readonly branch: string;
  readonly fingerprint: string;
  readonly dirty: boolean;
}