MCPcopy
hub / github.com/anomalyco/opencode / serverLogRoots

Function serverLogRoots

packages/desktop/src/main/logging.ts:152–155  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

150}
151
152function serverLogRoots() {
153 const xdgData = process.env.XDG_DATA_HOME || join(homedir(), ".local", "share")
154 return [...new Set([join(xdgData, "opencode", "log"), join(app.getPath("userData"), "opencode", "log")])]
155}
156
157type Entry = { name: string; path?: string; data?: Buffer }
158

Callers 2

exportDebugLogsFunction · 0.85
manifestFunction · 0.85

Calls 1

joinFunction · 0.85

Tested by

no test coverage detected