MCPcopy Index your code
hub / github.com/nodejs/node / gitInit

Function gitInit

test/parallel/test-fs-rm.js:23–26  ·  view source on GitHub ↗
(gitDirectory)

Source from the content-addressed store, hash-verified

21})();
22
23function gitInit(gitDirectory) {
24 fs.mkdirSync(gitDirectory);
25 execSync('git init', common.mustNotMutateObjectDeep({ cwd: gitDirectory }));
26}
27
28function makeNonEmptyDirectory(depth, files, folders, dirname, createSymLinks) {
29 fs.mkdirSync(dirname, common.mustNotMutateObjectDeep({ recursive: true }));

Callers 1

test-fs-rm.jsFile · 0.85

Calls 2

execSyncFunction · 0.85
mkdirSyncMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…