MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / decodeJournal

Function decodeJournal

apps/local/src/db/v1-v2-migration.test.ts:53–56  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

51// Preserves every journal field (`when`, `breakpoints`, ...), drizzle's
52// migrator needs them, so only `entries` is typed for the truncation filter.
53const decodeJournal = (text: string) =>
54 decodeUnknownJson(text) as {
55 readonly entries: ReadonlyArray<{ readonly idx: number; readonly tag: string }>;
56 };
57
58let workDir: string;
59let previousXdgDataHome: string | undefined;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected