MCPcopy
hub / github.com/webpack/webpack / deserialize

Method deserialize

lib/FileSystemInfo.js:570–585  ·  view source on GitHub ↗

* Restores this instance from the provided deserializer context. * @param {ObjectDeserializerContext} context context

({ read })

Source from the content-addressed store, hash-verified

568 * @param {ObjectDeserializerContext} context context
569 */
570 deserialize({ read }) {
571 this._flags = read();
572 if (this.hasStartTime()) this.startTime = read();
573 if (this.hasFileTimestamps()) this.fileTimestamps = read();
574 if (this.hasFileHashes()) this.fileHashes = read();
575 if (this.hasFileTshs()) this.fileTshs = read();
576 if (this.hasContextTimestamps()) this.contextTimestamps = read();
577 if (this.hasContextHashes()) this.contextHashes = read();
578 if (this.hasContextTshs()) this.contextTshs = read();
579 if (this.hasMissingExistence()) this.missingExistence = read();
580 if (this.hasManagedItemInfo()) this.managedItemInfo = read();
581 if (this.hasManagedFiles()) this.managedFiles = read();
582 if (this.hasManagedContexts()) this.managedContexts = read();
583 if (this.hasManagedMissing()) this.managedMissing = read();
584 if (this.hasChildren()) this.children = read();
585 }
586
587 /**
588 * Creates an iterable from the provided get map.

Callers

nothing calls this directly

Calls 14

hasStartTimeMethod · 0.95
hasFileTimestampsMethod · 0.95
hasFileHashesMethod · 0.95
hasFileTshsMethod · 0.95
hasContextTimestampsMethod · 0.95
hasContextHashesMethod · 0.95
hasContextTshsMethod · 0.95
hasMissingExistenceMethod · 0.95
hasManagedItemInfoMethod · 0.95
hasManagedFilesMethod · 0.95
hasManagedContextsMethod · 0.95
hasManagedMissingMethod · 0.95

Tested by

no test coverage detected