Skip to content

Instantly share code, notes, and snippets.

@othiym23
Last active August 29, 2015 14:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save othiym23/c959971156e3a328b2cf to your computer and use it in GitHub Desktop.
Save othiym23/c959971156e3a328b2cf to your computer and use it in GitHub Desktop.
the flow from one function to another within `npm cache add`
cache.add
-> maybeFile
-> addLocal
-> maybeAt
-o cache.add
-> addLocal
-> addRemoteTarball
-> addLocalTarball
-> addRemoteGit
-> addLocalTarball
-> addNamed
-> addRemoteTarball
-> maybeGithub
-> addRemoteGit
-> addLocal
-> maybeGithub
-> addNamed
-> addLocalTarball
cache.add
-> addRemoteTarball
-> addLocalTarball
-> addRemoteGit
-> addLocalTarball
-> maybeGithub
-> addRemoteGit
-> addLocalTarball
-> addNamed
-> addRemoteTarball
-> addLocalTarball
-> addLocal
-> addLocalTarball
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment