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

Method setDefaultProjectHint

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

920 * Used only to make the "no default project" error actionable.
921 */
922 setDefaultProjectHint(searchedPath: string): void {
923 this.defaultProjectHint = searchedPath;
924 }
925
926 /**
927 * 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