Searched refs:cacheBase (Results 1 – 4 of 4) sorted by relevance
42 …const cacheBase = cacheFile(path.resolve(path.dirname(opts.cache)))(url.resolve(opts.registry, '/-…43 const cachePath = path.join(cacheBase, '.cache.json')253 var cacheBase = path.dirname(cacheFile)254 log.silly('all-package-metadata', 'making sure cache dir exists at', cacheBase)256 return mkdir(cacheBase).then(made => {257 return chownr(made || cacheBase, st.uid, st.gid)
19 let cacheBase variable24 cacheBase = cacheFile(CACHE_DIR)(common.registry + '/-/all')25 cachePath = path.join(cacheBase, '.cache.json')26 mkdirp.sync(cacheBase)
20 let cacheBase variable26 mkdirp.sync(cacheBase)39 cacheBase = cacheFile(npm.config.get('cache'))(common.registry + '/-/all')40 cachePath = path.join(cacheBase, '.cache.json')
16 const cacheBase = cacheFile(CACHE_DIR)(common.registry + '/-/all') constant17 const cachePath = path.join(cacheBase, '.cache.json')28 mkdirp.sync(cacheBase)