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

Method constructor

ng-dev/utils/git/git-client.ts:56–66  ·  view source on GitHub ↗
(
    /** The configuration, containing the github specific configuration. */
    config: {github: GithubConfig},
    /** The full path to the root of the repository base. */
    readonly baseDir = determineRepoBaseDirFromCwd(),
  )

Source from the content-addressed store, hash-verified

54 readonly config: {github: GithubConfig};
55
56 /**
57 * Path to the Git executable. By default, `git` is assumed to exist
58 * in the shell environment (using `$PATH`).
59 */
60 readonly gitBinPath: string = 'git';
61
62 /** Cached system `git` binary resolution keyed by sanitized `PATH` and excluded directories. */
63 private cachedGitResolution: {key: string; binPath: string | null} | null = null;
64
65 constructor(
66 /** The configuration, containing the github specific configuration. */
67 config: {github: GithubConfig},
68 /** The full path to the root of the repository base. */
69 readonly baseDir = determineRepoBaseDirFromCwd(),

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected