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

Method setAtomsFrom

external/.scrollLibs.js:17366–17369  ·  view source on GitHub ↗
(index, atoms)

Source from the content-addressed store, hash-verified

17364 return this.setLine(atoms.join(this.atomBreakSymbol))
17365 }
17366 setAtomsFrom(index, atoms) {
17367 this.setAtoms(this.atoms.slice(0, index).concat(atoms))
17368 return this
17369 }
17370 appendAtom(atom) {
17371 const atoms = this.atoms
17372 atoms.push(atom)

Callers 2

_inferParserDefMethod · 0.80

Calls 3

setAtomsMethod · 0.95
concatMethod · 0.80
sliceMethod · 0.80

Tested by

no test coverage detected