Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/webpack/webpack
/ h
Function
h
test/cases/large/big-assets/index.js:4–8 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
2
const
fs = require(
"fs"
);
3
4
const
h = url => {
5
const
hash = createHash();
6
hash.update(fs.readFileSync(url));
7
return
hash.digest(
"hex"
);
8
};
9
10
it(
"should compile fine"
, () => {
11
const
a =
new
URL(
Callers
2
index.js
File · 0.70
module.js
File · 0.50
Calls
3
createHash
Function · 0.85
update
Method · 0.45
digest
Method · 0.45
Tested by
no test coverage detected