Skip to content

isShallowRepo

isShallowRepo(cwd): boolean

Defined in: git.ts:40

True when the checkout cannot support diffing (shallow clone, missing git, or not a repository). Callers treat this as “render everything”.

string

Repository root to probe.

boolean