MCPcopy
hub / github.com/webpack/webpack / getConnectionsByModule

Function getConnectionsByModule

lib/ModuleGraph.js:88–89  ·  view source on GitHub ↗
(set)

Source from the content-addressed store, hash-verified

86 * @returns {ReadonlyMap<Module | undefined, ReadonlyArray<ModuleGraphConnection>>} mapped by module
87 */
88const getConnectionsByModule = (set) =>
89 getConnectionsByKey(set, (connection) => connection.module);
90
91/** @typedef {SortableSet<ModuleGraphConnection>} IncomingConnections */
92/** @typedef {SortableSet<ModuleGraphConnection>} OutgoingConnections */

Callers

nothing calls this directly

Calls 1

getConnectionsByKeyFunction · 0.85

Tested by

no test coverage detected