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

Method digest

lib/util/Hash.js:61–65  ·  view source on GitHub ↗

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

(encoding)

Source from the content-addressed store, hash-verified

59 * @returns {string | Buffer} digest
60 */
61 digest(encoding) {
62 const AbstractMethodError = require("../errors/AbstractMethodError");
63
64 throw new AbstractMethodError();
65 }
66}
67
68module.exports = Hash;

Callers 15

applyMethod · 0.45
getHashMethod · 0.45
_readFileHashMethod · 0.45
_readContextTimestampMethod · 0.45
_readContextHashMethod · 0.45
_resolveContextHashMethod · 0.45
_resolveContextTshMethod · 0.45
getHashFunction · 0.45
_initBuildHashMethod · 0.45
_createModuleHashMethod · 0.45

Calls 1

requireFunction · 0.50

Tested by

no test coverage detected