MCPcopy Index your code
hub / github.com/commitizen/cz-cli / getGitRootPath

Function getGitRootPath

src/commitizen/adapter.js:177–179  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

175}
176
177function getGitRootPath () {
178 return childProcess.spawnSync('git', ['rev-parse', '--show-toplevel'], { encoding: 'utf8' }).stdout.trim();
179}

Callers 2

gitCzFunction · 0.85
resolveAdapterPathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected