MCPcopy Create free account
hub / github.com/MirrowApp/mirrow / createTempDir

Function createTempDir

packages/cli/test/cli.test.js:14–16  ·  view source on GitHub ↗
(label)

Source from the content-addressed store, hash-verified

12const UPDATED_SNIPPET = `svg { size: (48, 48) }`;
13
14async function createTempDir(label) {
15 return fs.mkdtemp(path.join(os.tmpdir(), `mirrow-cli-${label}-`));
16}
17
18async function writeFile(target, contents) {
19 await fs.mkdir(path.dirname(target), { recursive: true });

Callers 1

cli.test.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected