MCPcopy
hub / github.com/webpack/webpack / getIncomingConnections

Method getIncomingConnections

lib/ModuleGraph.js:617–620  ·  view source on GitHub ↗

* Gets incoming connections. * @param {Module} module the module * @returns {Iterable<ModuleGraphConnection>} reasons why a module is included

(module)

Source from the content-addressed store, hash-verified

615 * @returns {Iterable<ModuleGraphConnection>} reasons why a module is included
616 */
617 getIncomingConnections(module) {
618 const connections = this._getModuleGraphModule(module).incomingConnections;
619 return connections;
620 }
621
622 /**
623 * Gets outgoing connections.

Callers 14

isDeferredMethod · 0.95
noModuleIdErrorMessageFunction · 0.80
isOptionalMethod · 0.80
hasReasonsMethod · 0.80
applyMethod · 0.80
_isEntryModuleMethod · 0.80
getInitialModuleChainsFunction · 0.80
applyMethod · 0.80
getTypesMethod · 0.80
getTypesMethod · 0.80

Calls 1

_getModuleGraphModuleMethod · 0.95

Tested by

no test coverage detected