MCPcopy
hub / github.com/garrytan/gstack / readSession

Function readSession

design/src/session.ts:59–62  ·  view source on GitHub ↗
(sessionFilePath: string)

Source from the content-addressed store, hash-verified

57 * Read an existing session from disk.
58 */
59export function readSession(sessionFilePath: string): DesignSession {
60 const content = fs.readFileSync(sessionFilePath, "utf-8");
61 return JSON.parse(content);
62}
63
64/**
65 * Update a session with new iteration data.

Callers 1

iterateFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected