MCPcopy Create free account
hub / github.com/cortexkit/magic-context / makeTempDir

Function makeTempDir

packages/plugin/src/shared/rpc-client.test.ts:31–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29});
30
31function makeTempDir(): string {
32 const dir = mkdtempSync(join(tmpdir(), "mc-rpc-client-"));
33 tempDirs.push(dir);
34 return dir;
35}
36
37function writePortFile(storageDir: string, directory: string, port: number): void {
38 const portFile = rpcPortFilePath(storageDir, directory);

Callers 1

rpc-client.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected