MCPcopy Create free account
hub / github.com/Noumena-Network/code / isShallowClone

Function isShallowClone

src/utils/git.ts:623–625  ·  view source on GitHub ↗

* Check if we're in a shallow clone by looking for /shallow.

()

Source from the content-addressed store, hash-verified

621 * Check if we're in a shallow clone by looking for <gitDir>/shallow.
622 */
623function isShallowClone(): Promise<boolean> {
624 return isShallowCloneFs()
625}
626
627/**
628 * Capture untracked files (git diff doesn't include them).

Callers 1

preserveGitStateForIssueFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected