MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / getProjectRoot

Function getProjectRoot

cli/src/project-files.ts:18–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16}
17
18export function getProjectRoot() {
19 if (!projectRoot) {
20 throw new Error('Project root not set')
21 }
22 return projectRoot
23}
24
25export function getCurrentChatId() {
26 if (!currentChatId) {

Callers 15

AppFunction · 0.90
ChatFunction · 0.90
mainFunction · 0.90
findAgentsDirectoryFunction · 0.90
initializeSkillRegistryFunction · 0.90
clearLogFileFunction · 0.90
sendAnalyticsAndLogFunction · 0.90
getRelativePathFunction · 0.90
getCodebuffClientFunction · 0.90
routeUserPromptFunction · 0.90
handleImageCommandFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected