MCPcopy Create free account
hub / github.com/Noumena-Network/code / makeTempDir

Function makeTempDir

src/utils/localInstaller.ncode.test.ts:16–20  ·  view source on GitHub ↗
(prefix: string)

Source from the content-addressed store, hash-verified

14})
15
16function makeTempDir(prefix: string): string {
17 const dir = mkdtempSync(join(tmpdir(), `${prefix}-`))
18 tempDirs.push(dir)
19 return dir
20}
21
22describe('local installer path migration', () => {
23 test('defaults to canonical .ncode/local when no legacy install exists', async () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected