Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/volcengine/OpenViking
/ ensureDir
Function
ensureDir
examples/codex-memory-plugin/scripts/debug-log.mjs:19–23 ·
view source on GitHub ↗
(filePath)
Source
from the content-addressed store, hash-verified
17
}
18
19
function
ensureDir(filePath) {
20
try {
21
mkdirSync(dirname(filePath), { recursive: true });
22
} catch { /* best effort */ }
23
}
24
25
function
writeLine(filePath, obj) {
26
try {
Callers
1
createLogger
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected