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

Method destroy

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

* The `destroy` method removes all evidence of the package cache. * * @method destroy * @param {String} label The label for the cache. * @param {String} type The type of package cache.

(label)

Source from the content-addressed store, hash-verified

632 * @param {String} type The type of package cache.
633 */
634 destroy(label) {
635 process.chdir(this.rootPath);
636 quickTemp.remove(this.dirs, label);
637 process.chdir(originalWorkingDirectory);
638
639 this._conf.delete(label);
640 }
641
642 /**
643 * The `clone` method duplicates a cache. Some package managers can

Callers 2

stopHttpServerMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected