MCPcopy Create free account
hub / github.com/EvoMap/evolver / makeGitWorkspace

Function makeGitWorkspace

test/sessionStartScope.test.js:117–121  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

115// `git rev-parse --is-inside-work-tree` even when the subprocess HOME lacks a
116// safe.directory exception for the checkout.
117function makeGitWorkspace() {
118 const dir = makeTmpDir();
119 execFileSync('git', ['init', '-q'], { cwd: dir });
120 return dir;
121}
122
123describe('evolver-session-start workspace scoping', () => {
124 it('injects only the current workspace\'s outcomes, not other projects\'', () => {

Callers 1

Calls 1

makeTmpDirFunction · 0.70

Tested by

no test coverage detected