* 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)
| 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 |
no outgoing calls
no test coverage detected