Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/anomalyco/opencode
/ initRunDirectory
Function
initRunDirectory
packages/desktop/src/main/logging.ts:101–105 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
99
}
100
101
function
initRunDirectory() {
102
root = join(app.getPath(
"userData"
),
"logs"
)
103
run = join(root, stamp())
104
mkdirSync(run, { recursive: true })
105
}
106
107
function
stamp() {
108
return
new
Date()
Callers
1
initLogging
Function · 0.85
Calls
2
join
Function · 0.85
stamp
Function · 0.70
Tested by
no test coverage detected