Home
last modified time | relevance | path

Searched refs:cacheFile (Results 1 – 7 of 7) sorted by relevance

/third_party/node/deps/npm/lib/search/
Dall-package-metadata.js5 const cacheFile = require('npm-cache-filename') constant
42 …const cacheBase = cacheFile(path.resolve(path.dirname(opts.cache)))(url.resolve(opts.registry, '/-…
118 function createCacheEntryStream (cacheFile, opts) { argument
120 log.verbose('all-package-metadata', cacheFile)
121 return statAsync(cacheFile).then(stat => {
124 fs.createReadStream(cacheFile),
219 function createCacheWriteStream (cacheFile, latest, opts) { argument
220 return _ensureCacheDirExists(cacheFile, opts).then(({uid, gid}) => {
223 const cacheFileStream = writeStreamAtomic(cacheFile)
241 chownr.sync(cacheFile, uid, gid)
[all …]
/third_party/node/deps/npm/lib/utils/
Dmetrics.js12 const cacheFile = require('./cache-file.js') constant
55 cacheFile.write(metricsFile, JSON.stringify(metrics))
76 cacheFile.write(path.join(path.dirname(metricsFile), 'last-send-metrics-error.txt'), err.stack)
Derror-handler.js18 const cacheFile = require('./cache-file.js') constant
43 cacheFile.append('_timing.json', JSON.stringify(timings) + '\n')
246 cacheFile.write(getLogFile(), logOutput)
/third_party/node/deps/npm/test/tap/
Dsearch.all-package-search.js3 const cacheFile = require('npm-cache-filename') constant
16 const cacheBase = cacheFile(CACHE_DIR)(common.registry + '/-/all')
Dsearch.js3 const cacheFile = require('npm-cache-filename') constant
24 cacheBase = cacheFile(CACHE_DIR)(common.registry + '/-/all')
Dall-package-metadata.js10 const cacheFile = require('npm-cache-filename') constant
39 cacheBase = cacheFile(npm.config.get('cache'))(common.registry + '/-/all')
/third_party/typescript_eslint/packages/experimental-utils/src/ts-eslint/
DCLIEngine.ts111 cacheFile?: string;