MCPcopy Create free account
hub / github.com/OpenHands/OpenHands / tempPath

Function tempPath

__tests__/scripts/dev-safe.test.ts:1029–1032  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1027 });
1028
1029 function tempPath(): string {
1030 dir = mkdtempSync(path.join(tmpdir(), "session-key-"));
1031 return path.join(dir, "nested", "session-api-key.txt");
1032 }
1033
1034 it("creates the file (and parent dirs) with a hex key on first call", () => {
1035 const filePath = tempPath();

Callers 1

dev-safe.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected