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

Method setDefaultProjectHint

src/mcp/tools.ts:881–883  ·  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

879 * Used only to make the "no default project" error actionable.
880 */
881 setDefaultProjectHint(searchedPath: string): void {
882 this.defaultProjectHint = searchedPath;
883 }
884
885 /**
886 * Whether a default CodeGraph instance is available

Callers 4

setProjectPathHintMethod · 0.80
retryInitializeSyncMethod · 0.80
doInitializeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected