MCPcopy
hub / github.com/colbymchenry/codegraph / mkTmp

Function mkTmp

__tests__/npm-sdk.test.ts:26–28  ·  view source on GitHub ↗
(label: string)

Source from the content-addressed store, hash-verified

24const VERSION = '9.9.9-test';
25
26function mkTmp(label: string): string {
27 return fs.mkdtempSync(path.join(os.tmpdir(), `cg-sdk-${label}-`));
28}
29
30// A temp node_modules with the main package (npm-sdk.js + package.json). The
31// fake platform package, when present, is written as a resolvable sibling so the

Callers 1

makeConsumerFunction · 0.70

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected