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

Method _clear

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

* Clear the cache information. * * @private * @method _clear

()

Source from the content-addressed store, hash-verified

40 * @method _clear
41 */
42 _clear() {
43 this.entries = Object.create(null);
44 this.projects = [];
45 _resetCache();
46 }
47
48 /**
49 * Indicates if there is at least one error in any object in the cache.

Callers 2

constructorMethod · 0.95
reloadProjectsMethod · 0.95

Calls 1

createMethod · 0.80

Tested by

no test coverage detected