()
| 194 | * untouched. |
| 195 | */ |
| 196 | export function getCacheDir(): string { |
| 197 | return process.env.XDG_CACHE_HOME ?? path.join(os.homedir(), ".cache"); |
| 198 | } |
| 199 | |
| 200 | export function getOpenCodeCacheDir(): string { |
| 201 | return path.join(getCacheDir(), "opencode"); |
no outgoing calls
no test coverage detected