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”.
Parameters
Section titled “Parameters”string
Repository root to probe.
Returns
Section titled “Returns”boolean