MCPcopy Create free account
hub / github.com/Alphanimble/htmlstream / ensureSessionDir

Function ensureSessionDir

demo/server/session-log.ts:27–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25}
26
27function ensureSessionDir(): void {
28 if (!fs.existsSync(SESSION_DIR)) {
29 fs.mkdirSync(SESSION_DIR, { recursive: true });
30 }
31}
32
33function readSessionFile(filePath: string): SessionFile | null {
34 try {

Callers 2

listSessionSummariesFunction · 0.85
configureServerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected