MCPcopy Create free account
hub / github.com/cryptii/cryptii / copy

Method copy

src/Encoder.js:174–178  ·  view source on GitHub ↗

* Creates a copy of this brick. * @return {Brick} Brick copy instance

()

Source from the content-addressed store, hash-verified

172 * @return {Brick} Brick copy instance
173 */
174 copy () {
175 const copy = super.copy()
176 copy.setReverse(this.isReverse())
177 return copy
178 }
179
180 /**
181 * Triggered before performing encode on given content.

Callers

nothing calls this directly

Calls 2

isReverseMethod · 0.95
setReverseMethod · 0.80

Tested by

no test coverage detected