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

Function deadCode

ui/src/lib/adapter.ts:436–444  ·  view source on GitHub ↗
(request = {}, signal)

Source from the content-addressed store, hash-verified

434 },
435
436 deadCode(request = {}, signal) {
437 const params = new URLSearchParams();
438 if (request.limit) params.set('limit', String(request.limit));
439 if (request.kinds?.length) params.set('kinds', request.kinds.join(','));
440 if (request.includeExported) params.set('exported', '1');
441 if (request.includeTests) params.set('tests', '1');
442 if (request.includeGenerated) params.set('generated', '1');
443 return getJson<WireDeadCode>(`api/deadcode${query(params)}`, signal);
444 },
445
446 trails: (signal) => getJson<WireTrails>('api/trails', signal),
447

Callers

nothing calls this directly

Calls 4

getJsonFunction · 0.70
queryFunction · 0.70
setMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected