MCPcopy Index your code
hub / github.com/lutzroeder/netron / copyMetadata

Method copyMetadata

source/python.js:13266–13272  ·  view source on GitHub ↗
(from)

Source from the content-addressed store, hash-verified

13264 }
13265 }
13266 copyMetadata(from) {
13267 this.setType(from.type());
13268 if (from.hasDebugName()) {
13269 this.setDebugName(from.debugName());
13270 }
13271 return this;
13272 }
13273 toString() {
13274 return `${this.debugName()} : ${this.type().toString()}`;
13275 }

Callers 2

createCloneMethod · 0.80
cloneFromMethod · 0.80

Calls 5

setTypeMethod · 0.80
hasDebugNameMethod · 0.80
setDebugNameMethod · 0.80
debugNameMethod · 0.80
typeMethod · 0.45

Tested by

no test coverage detected