MCPcopy Index your code
hub / github.com/adaptlearning/adapt_framework / cachePath

Method cachePath

grunt/helpers/CacheManager.js:30–34  ·  view source on GitHub ↗
(basePath, outputFilePath = process.cwd())

Source from the content-addressed store, hash-verified

28 }
29
30 cachePath(basePath, outputFilePath = process.cwd()) {
31 const projectHash = CacheManager.hash(path.join(basePath, outputFilePath));
32 const cachePath = path.join(this.tempPath, `${projectHash}.cache`);
33 return cachePath;
34 }
35
36 get checkFilePath() {
37 const checkFilePath = path.join(this.tempPath, 'last.touch');

Callers 1

javascript.jsFile · 0.80

Calls 1

hashMethod · 0.80

Tested by

no test coverage detected