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

Function ensureChatDirectory

cli/src/project-files.ts:9–11  ·  view source on GitHub ↗
(dir: string)

Source from the content-addressed store, hash-verified

7let currentChatId: string | undefined
8
9function ensureChatDirectory(dir: string) {
10 mkdirSync(dir, { recursive: true })
11}
12
13export function setProjectRoot(dir: string) {
14 projectRoot = dir

Callers 1

getCurrentChatDirFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected