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

Function fetchDeadCode

ui/src/lib/api.ts:97–108  ·  view source on GitHub ↗
(
  opts: {
    limit?: number;
    kinds?: readonly string[];
    includeExported?: boolean;
    includeTests?: boolean;
    includeGenerated?: boolean;
  } = {},
  signal?: AbortSignal
)

Source from the content-addressed store, hash-verified

95 * importantly, every reason a candidate was left off. The screen prints both.
96 */
97export function fetchDeadCode(
98 opts: {
99 limit?: number;
100 kinds?: readonly string[];
101 includeExported?: boolean;
102 includeTests?: boolean;
103 includeGenerated?: boolean;
104 } = {},
105 signal?: AbortSignal
106): Promise<WireDeadCode> {
107 return getGraphAdapter().deadCode(opts, signal);
108}
109
110/** The URL → handler map. The palette reads routes through `fetchEntryPoints`. */
111export function fetchRoutes(

Callers

nothing calls this directly

Calls 2

getGraphAdapterFunction · 0.90
deadCodeMethod · 0.80

Tested by

no test coverage detected