MCPcopy
hub / github.com/webpack/webpack / clone

Method clone

lib/DependencyTemplates.js:63–68  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61 }
62
63 clone() {
64 const newInstance = new DependencyTemplates(this._hashFunction);
65 newInstance._map = new Map(this._map);
66 newInstance._hash = this._hash;
67 return newInstance;
68 }
69}
70
71module.exports = DependencyTemplates;

Callers 5

updateModuleMethod · 0.45
module.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected