MCPcopy Create free account
hub / github.com/RtlZeroMemory/Rezi / getSessionRoot

Function getSessionRoot

packages/node/src/dev/hotStateReload.ts:323–328  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

321 let reloadChain: Promise<boolean> = Promise.resolve(false);
322
323 function getSessionRoot(): string {
324 if (sessionRoot === null) {
325 sessionRoot = mkdtempSync(join(tmpdir(), "rezi-hsr-"));
326 }
327 return sessionRoot;
328 }
329
330 function cleanupSessionRoot(): void {
331 if (sessionRoot === null) return;

Callers 1

importLatestModuleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected