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

Function nudge

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

Source from the content-addressed store, hash-verified

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