MCPcopy
hub / github.com/webpack/webpack / keyToString

Method keyToString

lib/optimize/SplitChunksPlugin.js:942–945  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

940 * @returns {string} stringified key
941 */
942 const keyToString = (key) => {
943 if (typeof key === "bigint") return key.toString(16);
944 return /** @type {bigint} */ (chunkIndexMap.get(key)).toString(16);
945 };
946
947 const getChunkSetsInGraph = memoize(() => {
948 /** @type {Map<bigint, ChunkSet>} */

Callers

nothing calls this directly

Calls 2

toStringMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected