MCPcopy Create free account
hub / github.com/cli/cli / parseJournalFile

Function parseJournalFile

evals/src/core/sandbox.ts:45–46  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

43
44/** Reads and validates a journal file. */
45export const parseJournalFile = async (path: string): Promise<Journal> =>
46 parseJournal(JSON.parse(await readFile(path, "utf8")));
47
48/** Records a suite resource in the journal and persists it. */
49export async function journalResource(journal: Journal, journalPath: string, kind: string, id: string): Promise<void> {

Callers 2

mainFunction · 0.85
visitFunction · 0.85

Calls 1

parseJournalFunction · 0.85

Tested by

no test coverage detected