Skip to content
Français

RecordedCommit

import type { RecordedCommit } from "@elie-laloum/outpost";
  • oidRequired
    string
    Object ID of the recorded commit.
  • treeRequired
    string
    Tree ID the patch must reproduce.
  • authorRequired
    RecordedIdentity
    Author identity and date restored on the replayed commit.
  • committerRequired
    RecordedIdentity
    Committer identity and date restored on the replayed commit.
  • messageRequired
    string
    Exact commit message, without cleanup.
  • patchRequired
    string
    Binary Git patch from the parent commit, verified at record time; empty for commits without changes.
export interface RecordedCommit {
  readonly oid: string;
  readonly tree: string;
  readonly author: RecordedIdentity;
  readonly committer: RecordedIdentity;
  readonly message: string;
  readonly patch: string;
}