MCPcopy
hub / github.com/webpack/webpack / updateHash

Method updateHash

lib/util/StringXor.js:97–100  ·  lib/util/StringXor.js::StringXor.updateHash

* Updates the hash with the current state of the StringXor object. * @param {Hash} hash Hash instance

(hash)

Source from the content-addressed store, hash-verified

95 * @param {Hash} hash Hash instance
96 */
97 updateHash(hash) {
98 const value = this._value;
99 if (value !== undefined) hash.update(value);
100 }
101}
102
103module.exports = StringXor;

Callers 3

applyMethod · 0.95
updateHashMethod · 0.95
applyMethod · 0.95

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected