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

Function makeTempRoot

src/utils/glob-defaults.test.ts:17–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15})
16
17function makeTempRoot(): string {
18 const root = mkdtempSync(join(tmpdir(), 'ncode-glob-defaults-test-'))
19 tempRoots.push(root)
20 return root
21}
22
23function relativePosix(root: string, filePath: string): string {
24 return relative(root, filePath).replaceAll('\\', '/')

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected