MCPcopy
hub / github.com/webpack/webpack / runtimeToString

Function runtimeToString

lib/util/runtime.js:127–131  ·  view source on GitHub ↗
(runtime)

Source from the content-addressed store, hash-verified

125 * @returns {string} readable version
126 */
127const runtimeToString = (runtime) => {
128 if (runtime === undefined) return "*";
129 if (typeof runtime === "string") return runtime;
130 return runtime.getFromUnorderedCache(getRuntimesString);
131};
132
133/**
134 * Runtime condition to string.

Callers 5

getMethod · 0.85
_getModuleHashInfoMethod · 0.85
problemMethod · 0.85
updateHashMethod · 0.85
runtimeConditionToStringFunction · 0.85

Calls 1

getFromUnorderedCacheMethod · 0.80

Tested by

no test coverage detected