Skip to content

Instantly share code, notes, and snippets.

@lxe
Created December 18, 2015 23:56
Show Gist options
  • Save lxe/41cdbbd830fc430b1c3e to your computer and use it in GitHub Desktop.
Save lxe/41cdbbd830fc430b1c3e to your computer and use it in GitHub Desktop.
Searching 1282 files for "pulseTillDone\(" (regex)
/Users/aleksey/.nvm/v0.10.32/lib/node_modules/npm/lib/fetch-package-metadata.js:
109 pickVersionFromRegistryDocument(clone(regCache[url]))
110 } else {
111: npm.registry.get(url, {auth: auth}, pulseTillDone('fetchMetadata', iferr(next, pickVersionFromRegistryDocument)))
112 }
113 function returnAndAddMetadata (pkg) {
/Users/aleksey/.nvm/v0.10.32/lib/node_modules/npm/lib/cache/add-named.js:
39 else log.verbose(from, key, 'not in flight; fetching')
40
41: npm.registry.get(uri, { auth: auth }, pulseTillDone('fetchRegistry', fixName))
42 })
43 }
/Users/aleksey/.nvm/v0.10.32/lib/node_modules/npm/lib/cache/add-remote-tarball.js:
84
85 function fetchAndShaCheck (u, tmp, shasum, auth, cb) {
86: cb = pulseTillDone('fetchTarball', cb)
87 npm.registry.fetch(u, { auth: auth }, function (er, response) {
88 if (er) {
/Users/aleksey/.nvm/v0.10.32/lib/node_modules/npm/lib/cache/update-index.js:
82 function updateIndex_ (all, params, data, cachePath, cb) {
83 log.silly('update-index', 'fetching', all)
84: npm.registry.request(all, params, pulseTillDone('updateIndex', function (er, updates, _, res) {
85 if (er) return cb(er, data)
86
4 matches across 4 files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment