MCPcopy Create free account
hub / github.com/craftreactnative/ui / getCacheDir

Function getCacheDir

cli/src/utils/github-downloader.ts:21–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19}
20
21const getCacheDir = () => path.join(os.tmpdir(), "craftrn-ui-cli-cache");
22const getCachePath = (branch: string) => path.join(getCacheDir(), branch);
23const getCacheMetadataPath = (branch: string) =>
24 path.join(getCachePath(branch), ".cache-metadata.json");

Callers 1

getCachePathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected