MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / serializeRecord

Function serializeRecord

src/resolution/parameter-flow.ts:474–476  ·  view source on GitHub ↗
(record: FlowRecord)

Source from the content-addressed store, hash-verified

472const flowKeyName = (key: string): string => key.slice(0, key.indexOf('\0'));
473
474function serializeRecord(record: FlowRecord): string {
475 return JSON.stringify({ flows: record.flows, written: [...record.written].map(([name, files]) => [name, [...files]]) });
476}
477
478/** The record `raw` holds; null for none, or for one this can't read. */
479function parseRecord(raw: string | null): FlowRecord | null {

Callers 1

planFlowsFunction · 0.85

Calls 1

mapMethod · 0.80

Tested by

no test coverage detected