MCPcopy Index your code
hub / github.com/ember-cli/ember-cli / _install

Method _install

tests/helpers/package-cache.js:516–523  ·  view source on GitHub ↗

* The `_install` method installs the contents of the manifest into the * specified package cache. * * @private * @method _install * @param {String} label The label for the cache. * @param {String} type The type of package cache.

(label, type)

Source from the content-addressed store, hash-verified

514 * @param {String} type The type of package cache.
515 */
516 _install(label, type) {
517 this._removeLinks(label, type);
518 commands[type].invoke('install', { cwd: this.dirs[label] });
519 this._restoreLinks(label, type);
520
521 // If we just did a clean install we can treat it as up-to-date.
522 upgraded[label] = true;
523 }
524
525 /**
526 * The `_upgrade` method guarantees that the contents of the manifest are

Callers 3

_upgradeMethod · 0.95
createMethod · 0.95

Calls 3

_removeLinksMethod · 0.95
_restoreLinksMethod · 0.95
invokeMethod · 0.80

Tested by

no test coverage detected