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

Method get

src/resolution/parameter-flow.ts:431–437  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

429 }
430
431 get(id: string): FlowMethod | undefined {
432 if (this.read.has(id)) return this.read.get(id);
433 const node = this.queries.getNodeOutline(id);
434 const method = node && node.language === this.language && isMethodKind(node.kind) ? node : undefined;
435 this.read.set(id, method);
436 return method;
437 }
438
439 isName(name: string): boolean {
440 let is = this.names.get(name);

Callers

nothing calls this directly

Calls 5

isMethodKindFunction · 0.85
hasMethod · 0.80
getNodeOutlineMethod · 0.80
getMethod · 0.65
setMethod · 0.45

Tested by

no test coverage detected