MCPcopy
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
101function initRunDirectory() {
102 root = join(app.getPath("userData"), "logs")
103 run = join(root, stamp())
104 mkdirSync(run, { recursive: true })
105}
106
107function stamp() {
108 return new Date()

Callers 1

initLoggingFunction · 0.85

Calls 2

joinFunction · 0.85
stampFunction · 0.70

Tested by

no test coverage detected