MCPcopy
hub / github.com/webpack/webpack / serialize

Method serialize

lib/DependenciesBlock.js:105–108  ·  view source on GitHub ↗

* Serializes this instance into the provided serializer context. * @param {ObjectSerializerContext} context context

({ write })

Source from the content-addressed store, hash-verified

103 * @param {ObjectSerializerContext} context context
104 */
105 serialize({ write }) {
106 write(this.dependencies);
107 write(this.blocks);
108 }
109
110 /**
111 * Restores this instance from the provided deserializer context.

Callers

nothing calls this directly

Calls 1

writeFunction · 0.85

Tested by

no test coverage detected