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

Function listHsrSessionDirs

packages/node/src/__tests__/hotStateReload.test.ts:22–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20}
21
22function listHsrSessionDirs(): readonly string[] {
23 return readdirSync(tmpdir(), { withFileTypes: true })
24 .filter((entry) => entry.isDirectory() && entry.name.startsWith("rezi-hsr-"))
25 .map((entry) => entry.name)
26 .sort();
27}
28
29function writeViewModule(root: string): string {
30 mkdirSync(root, { recursive: true });

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected