Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
7
let
currentChatId: string | undefined
8
9
function
ensureChatDirectory(dir: string) {
10
mkdirSync(dir, { recursive: true })
11
}
12
13
export
function
setProjectRoot(dir: string) {
14
projectRoot = dir
Callers
1
getCurrentChatDir
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected