MCPcopy Create free account
hub / github.com/angular/dev-infra / isShallowRepo

Method isShallowRepo

ng-dev/utils/git/git-client.ts:151–153  ·  view source on GitHub ↗

Whether the local repository is configured as shallow.

()

Source from the content-addressed store, hash-verified

149 const result = spawnSync(gitExecutable, args, {
150 cwd: this.baseDir,
151 stdio: 'pipe',
152 ...options,
153 env,
154 // Encoding is always `utf8` and not overridable. This ensures that this method
155 // always returns `string` as output instead of buffers.
156 encoding: 'utf8',

Callers 2

mergeMethod · 0.80

Calls 1

runMethod · 0.95

Tested by

no test coverage detected