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

Function makeTmpDir

test/resolveProjectDir.test.js:13–15  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11const { resolveProjectDir } = require('../src/adapters/scripts/_runtimePaths');
12
13function makeTmpDir() {
14 return fs.realpathSync(fs.mkdtempSync(path.join(os.tmpdir(), 'evolver-projdir-test-')));
15}
16function cleanup(dir) {
17 try { fs.rmSync(dir, { recursive: true, force: true }); } catch {}
18}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected