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

Function nudge

src/bin/codegraph.ts:1710–1711  ·  view source on GitHub ↗
(projects: string[], lead: string)

Source from the content-addressed store, hash-verified

1708 // Follow-up codegraph_explore calls against a sub-project (cwd isn't its
1709 // index root) need an explicit projectPath, so spell it out.
1710 const nudge = (projects: string[], lead: string): string =>
1711 `${lead}\n${projects.map((p) => ` - projectPath: "${p}"`).join('\n')}\n`;
1712
1713 if (plan.exploreRoot) {
1714 // A `codegraph index` in another process is rebuilding this index: it

Callers 1

mainFunction · 0.85

Calls 2

mapMethod · 0.80
joinMethod · 0.45

Tested by

no test coverage detected