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

Function qualifiedNames

__tests__/csharp-namespace-scope.test.ts:142–142  ·  view source on GitHub ↗
(file: string)

Source from the content-addressed store, hash-verified

140});
141
142const qualifiedNames = (file: string) => cg.getNodesInFile(file).filter((n) => n.kind !== 'file').map((n) => `${n.kind} ${n.qualifiedName}`);
143const targetsAt = (file: string, line: number, kind?: string) => {
144 const ids = cg.getNodesInFile(file).map((n) => n.id);
145 return cg.getOutgoingEdgesFrom(ids).filter((e) => e.line === line && (!kind || e.kind === kind))

Callers 1

Calls 2

mapMethod · 0.80
getNodesInFileMethod · 0.65

Tested by

no test coverage detected