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

Function makeTempRoot

src/utils/glob.test.ts:16–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 1

glob.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected