()
| 150 | } |
| 151 | |
| 152 | function 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 | |
| 157 | type Entry = { name: string; path?: string; data?: Buffer } |
| 158 |
no test coverage detected