(cliHost: CLIHost)
| 637 | } |
| 638 | |
| 639 | export async function getCacheFolder(cliHost: CLIHost): Promise<string> { |
| 640 | return cliHost.path.join(await cliHost.tmpdir(), cliHost.platform === 'linux' ? `devcontainercli-${await cliHost.getUsername()}` : 'devcontainercli'); |
| 641 | } |
| 642 | |
| 643 | export async function getLocalCacheFolder() { |
| 644 | return path.join(os.tmpdir(), process.platform === 'linux' ? `devcontainercli-${await getLocalUsername()}` : 'devcontainercli'); |
no test coverage detected