MCPcopy
hub / github.com/webpack/webpack / getCacheVersion

Method getCacheVersion

lib/DefinePlugin.js:127–133  ·  lib/DefinePlugin.js::RuntimeValue.getCacheVersion
()

Source from the content-addressed store, hash-verified

125 }
126
127 getCacheVersion() {
128 return this.options === true
129 ? undefined
130 : (typeof this.options.version === class="st">"function"
131 ? this.options.version()
132 : this.options.version) || class="st">"unset";
133 }
134}
135
136/**

Callers 1

toCacheVersionFunction · 0.45

Calls 1

versionMethod · 0.80

Tested by

no test coverage detected