Skip to content

GitFactsZ

const GitFactsZ: ZodUnion<readonly [ZodObject<{ available: ZodLiteral<false>; }, $strip>, ZodObject<{ ahead: ZodNumber; available: ZodLiteral<true>; behind: ZodNumber; branch: ZodString; diffStat: ZodString; dirty: ZodBoolean; fetched: ZodBoolean; head: ZodString; recentCommits: ZodString; }, $strip>]>

Defined in: types/src/handoff.ts:6

Read-only git facts captured for a handoff. Best-effort: a non-repo or a missing git binary yields the { available: false } variant.