MCPcopy
hub / github.com/coder/mux / createTempRoot

Function createTempRoot

src/node/worktree/removeManagedGitWorktree.test.ts:45–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43 });
44
45 async function createTempRoot(): Promise<string> {
46 const tempRoot = await mkdtemp(path.join(os.tmpdir(), "mux-remove-managed-worktree-"));
47 tempDirs.push(tempRoot);
48 return tempRoot;
49 }
50
51 it("falls back to recursive removal when git rejects a multi-project container path", async () => {
52 const tempRoot = await createTempRoot();

Calls 1

pushMethod · 0.65

Tested by

no test coverage detected