MCPcopy
hub / github.com/webpack/webpack / add

Method add

lib/util/LazyBucketSortedSet.js:82–85  ·  view source on GitHub ↗

* Adds an item to the unsorted staging area so sorting can be deferred until * an ordered pop is requested. * @param {T} item an item * @returns {void}

(item)

Source from the content-addressed store, hash-verified

80 * @returns {void}
81 */
82 add(item) {
83 this.size++;
84 this._unsortedItems.add(item);
85 }
86
87 /**
88 * Inserts an item into the correct nested bucket, creating intermediate

Callers 3

applyMethod · 0.95
_addInternalMethod · 0.45
startUpdateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected