MCPcopy
hub / github.com/continuedev/continue / createTempDir

Function createTempDir

packages/fetch/src/fetch.e2e.test.ts:35–39  ·  view source on GitHub ↗

* Create a temporary directory for test files

()

Source from the content-addressed store, hash-verified

33 * Create a temporary directory for test files
34 */
35function createTempDir(): string {
36 const tempDir = fs.mkdtempSync(path.join(os.tmpdir(), "fetch-e2e-test-"));
37 tempDirsToCleanup.push(tempDir);
38 return tempDir;
39}
40
41/**
42 * Generate a self-signed certificate for testing

Callers 1

fetch.e2e.test.tsFile · 0.85

Calls 1

pushMethod · 0.65

Tested by

no test coverage detected