MCPcopy Create free account
hub / github.com/nodejs/node / updateFrom

Method updateFrom

deps/v8/tools/system-analyzer/log/map.mjs:216–224  ·  view source on GitHub ↗
(edge)

Source from the content-addressed store, hash-verified

214 }
215
216 updateFrom(edge) {
217 if (this.to !== edge.to || this.from !== edge.from) {
218 throw new Error('Invalid Edge updated', this, to);
219 }
220 this.type = edge.type;
221 this.name = edge.name;
222 this.reason = edge.reason;
223 this.time = edge.time;
224 }
225
226 finishSetup() {
227 const from = this.from;

Callers 1

processMapMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected