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

Function nudge

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

Source from the content-addressed store, hash-verified

1777 // Follow-up codegraph_explore calls against a sub-project (cwd isn't its
1778 // index root) need an explicit projectPath, so spell it out.
1779 const nudge = (projects: string[], lead: string): string =>
1780 `${lead}\n${projects.map((p) => ` - projectPath: "${p}"`).join('\n')}\n`;
1781
1782 if (plan.exploreRoot) {
1783 // 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