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

Function links

__tests__/csharp-declared-receivers.test.ts:341–343  ·  view source on GitHub ↗
(type: string)

Source from the content-addressed store, hash-verified

339
340describe('a C# type with attributes above it', () => {
341 const links = (type: string) => edges()
342 .filter((e) => (e.k === 'references' || e.k === 'instantiates') && e.q === type)
343 .map((e) => e.k).sort();
344
345 it('declares its type parameters below them, however many there are', () => {
346 expect(links('App.Probing::Cache')).toEqual(['instantiates', 'references']);

Calls 2

mapMethod · 0.80
edgesFunction · 0.70

Tested by

no test coverage detected