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

Method setDefaultProjectHint

src/mcp/tools.ts:1422–1424  ·  view source on GitHub ↗

* Record the directory the server tried to resolve the default project from. * Used only to make the "no default project" error actionable.

(searchedPath: string)

Source from the content-addressed store, hash-verified

1420 * Used only to make the "no default project" error actionable.
1421 */
1422 setDefaultProjectHint(searchedPath: string): void {
1423 this.defaultProjectHint = searchedPath;
1424 }
1425
1426 /**
1427 * Engine-only: record the indexed sub-projects the workspace down-scan saw

Callers 4

setProjectPathHintMethod · 0.80
retryInitializeSyncMethod · 0.80
doInitializeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected