Skip to content

UpdateStatus

Defined in: src/update.ts:41

behind: number

Defined in: src/update.ts:43

how many commits the tracked branch is ahead of the running HEAD; 0 = up to date


checkedAt: number

Defined in: src/update.ts:50


commits: UpdateCommit[]

Defined in: src/update.ts:49

the new commits (HEAD..origin/branch), newest first; empty when up to date


current: string | null

Defined in: src/update.ts:45

short SHA of the running checkout (HEAD)


optional error?: string

Defined in: src/update.ts:52

set when the check itself failed (network/git); badge stays hidden on error


latest: string | null

Defined in: src/update.ts:47

short SHA of origin/ after fetch