MCPcopy
hub / github.com/webpack/webpack / digest

Method digest

test/configCases/output/hash-function/webpack.config.js:37–39  ·  view source on GitHub ↗

* Calculates the digest {@link https://nodejs.org/api/crypto.html#crypto_hash_digest_encoding} * @abstract * @param {BinaryToTextEncoding=} encoding encoding of the return value * @returns {string | Buffer} digest

(encoding)

Source from the content-addressed store, hash-verified

35 * @returns {string | Buffer} digest
36 */
37 digest(encoding) {
38 return this._hash.digest(/** @type {BinaryToTextEncoding} */ (encoding));
39 }
40}
41
42/** @type {import("../../../../").Configuration} */

Callers 11

testFunction · 0.45
unicodeTestFunction · 0.45
hFunction · 0.45
hashWithFunction · 0.45
loader.jsFile · 0.45
index.jsFile · 0.45
toScriptTagMethod · 0.45
applyMethod · 0.45
import.jsFile · 0.45
require.jsFile · 0.45
validateFunction · 0.45

Calls

no outgoing calls

Tested by 1

testFunction · 0.36