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

Function methods

__tests__/enum-constant-bodies.test.ts:75–76  ·  view source on GitHub ↗
(file: string)

Source from the content-addressed store, hash-verified

73});
74
75const methods = (file: string) =>
76 cg.getNodesInFile(file).filter((n) => n.kind === 'method').map((n) => n.qualifiedName).sort();
77
78const calls = (file: string) => {
79 const ids = cg.getNodesInFile(file).map((n) => n.id);

Callers 1

Calls 2

mapMethod · 0.80
getNodesInFileMethod · 0.65

Tested by

no test coverage detected