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

Function setRecord

__tests__/parameter-flow.test.ts:753–753  ·  view source on GitHub ↗
(cg: CodeGraph, value: string)

Source from the content-addressed store, hash-verified

751
752 const record = (cg: CodeGraph): string | null => (cg as unknown as { queries: QueryBuilder }).queries.getMetadata('parameter_flow_record_ruby');
753 const setRecord = (cg: CodeGraph, value: string): void => (cg as unknown as { queries: QueryBuilder }).queries.setMetadata('parameter_flow_record_ruby', value);
754
755 it('reads no file but the changed one, and leaves the flow', async () => {
756 const { cg, looked, files } = await synced(WITH_CALLER, (root) => write(root, { 'lib/caller.rb': `# a note\n${CALLER}` }));

Callers 1

Calls 1

setMetadataMethod · 0.80

Tested by

no test coverage detected