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

Function siteKey

src/graph/branch-guards.ts:240–242  ·  view source on GitHub ↗
(site: CallSite)

Source from the content-addressed store, hash-verified

238}
239
240export function siteKey(site: CallSite): string {
241 return `${site.line}:${typeof site.column === 'number' ? site.column : ''}${site.callee ? `:${site.callee}` : ''}`;
242}
243
244/**
245 * Guards for many call sites in one file, keyed by {@link siteKey}. The file

Callers 14

whenLabelMethod · 0.90
annotateWhenFunction · 0.90
guardsFunction · 0.90
loopsFunction · 0.90
argsFunction · 0.90
triggerFunction · 0.90
callSiteFunction · 0.90
whenAtFunction · 0.90
guardsForFileFunction · 0.85
guardsForFileSyncFunction · 0.85
callArgumentsForFileFunction · 0.85
callSitesForFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected