(platform: NodeJS.Platform = process.platform)
| 66 | |
| 67 | // Root directory path of ignite dependency cache |
| 68 | function rootdir(platform: NodeJS.Platform = process.platform) { |
| 69 | const folder = cachePath[platform] ?? cachePath[LINUX] |
| 70 | return path(homedir(), folder, "ignite") |
| 71 | } |
| 72 | |
| 73 | function clear() { |
| 74 | filesystem.remove(rootdir()) |