Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/webpack/webpack
/ addSizeTo
Function
addSizeTo
lib/util/deterministicGrouping.js:83–87 ·
view source on GitHub ↗
(total, size)
Source
from the content-addressed store, hash-verified
81
* @returns {void}
82
*/
83
const
addSizeTo = (total, size) => {
84
for
(
const
key in size) {
85
total[key] = (total[key] || 0) + size[key];
86
}
87
};
88
89
/**
90
* Subtract size from.
Callers
2
sumSize
Function · 0.85
deterministicGrouping.js
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected