MCPcopy
hub / github.com/CodebuffAI/codebuff / getCurrentChatDir

Function getCurrentChatDir

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

Source from the content-addressed store, hash-verified

91}
92
93export function getCurrentChatDir(): string {
94 const chatId = getCurrentChatId()
95 const dir = path.join(getProjectDataDir(), 'chats', chatId)
96 ensureChatDirectory(dir)
97 return dir
98}

Callers 3

getRunStatePathFunction · 0.90
getChatMessagesPathFunction · 0.90
sendAnalyticsAndLogFunction · 0.90

Calls 3

getCurrentChatIdFunction · 0.85
getProjectDataDirFunction · 0.85
ensureChatDirectoryFunction · 0.85

Tested by

no test coverage detected