MCPcopy
hub / github.com/infinitered/ignite / rootdir

Function rootdir

src/tools/cache.ts:68–71  ·  view source on GitHub ↗
(platform: NodeJS.Platform = process.platform)

Source from the content-addressed store, hash-verified

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

Callers 1

clearFunction · 0.85

Calls 1

pathFunction · 0.85

Tested by

no test coverage detected