Aller au contenu
English

SpeculativeHostSnapshot

import type { SpeculativeHostSnapshot } from "@elie-laloum/outpost";
  • headRequis
    string
    Commit HEAD du checkout.
  • branchRequis
    string
    Nom de la branche courante, ou HEAD si le checkout est détaché.
  • fingerprintRequis
    string
    SHA-256 du HEAD, du diff non commité et des fichiers non suivis, comparé d’un snapshot à l’autre pour détecter des modifications.
  • dirtyRequis
    boolean
    Vrai si des changements suivis ou non suivis existent hors de .outpost.
export interface SpeculativeHostSnapshot {
  readonly head: string;
  readonly branch: string;
  readonly fingerprint: string;
  readonly dirty: boolean;
}