Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChatLab/ChatLab
/ ensureDir
Function
ensureDir
packages/node-runtime/src/logging/app-logger.ts:106–108 ·
view source on GitHub ↗
(dir: string)
Source
from the content-addressed store, hash-verified
104
}
105
106
function
ensureDir(dir: string): void {
107
if
(!fs.existsSync(dir)) fs.mkdirSync(dir, { recursive: true })
108
}
109
110
let
instance: AppLogger | null = null
111
Callers
1
write
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected