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

Method setDefaultProjectHint

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

909 * Used only to make the "no default project" error actionable.
910 */
911 setDefaultProjectHint(searchedPath: string): void {
912 this.defaultProjectHint = searchedPath;
913 }
914
915 /**
916 * 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