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

Function decodeJournal

apps/local/src/db/v1-v2-ledger.test.ts:43–46  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

41
42const decodeUnknownJson = Schema.decodeUnknownSync(Schema.fromJsonString(Schema.Unknown));
43const decodeJournal = (text: string) =>
44 decodeUnknownJson(text) as {
45 readonly entries: ReadonlyArray<{ readonly idx: number; readonly tag: string }>;
46 };
47
48let workDir: string;
49let previousXdgDataHome: string | undefined;

Callers 1

applyLegacyChainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected