MCPcopy Index your code
hub / github.com/subquery/subql / makeTempDir

Function makeTempDir

packages/cli/src/controller/init-controller.spec.ts:30–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28jest.setTimeout(30000);
29
30async function makeTempDir() {
31 const sep = path.sep;
32 const tmpDir = os.tmpdir();
33 const tempPath = await fs.promises.mkdtemp(`${tmpDir}${sep}`);
34 return tempPath;
35}
36const projectSpec = {
37 name: 'mocked_starter',
38 repository: '',

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected