MCPcopy
hub / github.com/colbymchenry/codegraph / getTarget

Function getTarget

src/installer/targets/registry.ts:31–33  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

29]);
30
31export function getTarget(id: string): AgentTarget | undefined {
32 return ALL_TARGETS.find((t) => t.id === id);
33}
34
35export function listTargetIds(): TargetId[] {
36 return ALL_TARGETS.map((t) => t.id);

Callers 4

resolveTargetsFunction · 0.90
resolveTargetFlagFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected