MCPcopy
hub / github.com/ember-cli/ember-cli / getEntry

Method getEntry

lib/models/package-info-cache/index.js:317–319  ·  view source on GitHub ↗

* Retrieve an entry from the cache. * * @public * @method getEntry * @param {String} path the real path whose PackageInfo or NodeModulesList is desired. * @return {PackageInfo} or {NodeModulesList} the desired entry.

(path)

Source from the content-addressed store, hash-verified

315 * @return {PackageInfo} or {NodeModulesList} the desired entry.
316 */
317 getEntry(path) {
318 return this.entries[path];
319 }
320
321 /**
322 * Indicate if an entry for a given path exists in the cache.

Callers 7

hasErrorsMethod · 0.95
showErrorsMethod · 0.95
_readPackageMethod · 0.95
_readNodeModulesListMethod · 0.95
discoverAddonsFunction · 0.80
instantiateAddonsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected