Home
last modified time | relevance | path

Searched refs:cacheBase (Results 1 – 4 of 4) sorted by relevance

/third_party/node/deps/npm/lib/search/
Dall-package-metadata.js42 …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)
/third_party/node/deps/npm/test/tap/
Dsearch.js19 let cacheBase variable
24 cacheBase = cacheFile(CACHE_DIR)(common.registry + '/-/all')
25 cachePath = path.join(cacheBase, '.cache.json')
26 mkdirp.sync(cacheBase)
Dall-package-metadata.js20 let cacheBase variable
26 mkdirp.sync(cacheBase)
39 cacheBase = cacheFile(npm.config.get('cache'))(common.registry + '/-/all')
40 cachePath = path.join(cacheBase, '.cache.json')
Dsearch.all-package-search.js16 const cacheBase = cacheFile(CACHE_DIR)(common.registry + '/-/all') constant
17 const cachePath = path.join(cacheBase, '.cache.json')
28 mkdirp.sync(cacheBase)