MCPcopy Create free account
hub / github.com/breck7/scroll / copyTo

Method copyTo

external/.scrollLibs.js:16476–16478  ·  view source on GitHub ↗
(particle, index)

Source from the content-addressed store, hash-verified

16474 return output
16475 }
16476 copyTo(particle, index) {
16477 return particle._insertBlock(this.toString(), index)
16478 }
16479 // Note: Splits using a positive lookahead
16480 // this.split("foo").join("\n") === this.toString()
16481 split(cue) {

Callers 1

shiftMethod · 0.80

Calls 2

toStringMethod · 0.95
_insertBlockMethod · 0.80

Tested by

no test coverage detected