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

Function guardsAt

src/ui-server/api/steps.ts:453–453  ·  view source on GitHub ↗
(caller: Node, site: { line?: number; column?: number })

Source from the content-addressed store, hash-verified

451 const calls = createSiteReader(cg, projectRoot, MAX_CALL_SITES);
452 /** The conditions a site runs under, structured — one read, joined where a string is wanted. */
453 const guardsAt = (caller: Node, site: { line?: number; column?: number }) => reader.guards(caller, site);
454 /** The loops a site is written inside — a run of calls that happens once per item. */
455 const loopsAt = (caller: Node, site: { line?: number; column?: number }) => reader.loops(caller, site);
456 const argsAt = (caller: Node, site: { line?: number; column?: number }) => reader.args(caller, site);

Callers 2

effectLinkFunction · 0.70
buildStepsFunction · 0.70

Calls 1

guardsMethod · 0.80

Tested by

no test coverage detected