MCPcopy Create free account
hub / github.com/Rich-Harris/magic-string / append

Method append

benchmark/data-min.js:711–713  ·  view source on GitHub ↗
(t, e)

Source from the content-addressed store, hash-verified

709 return (this.sources.push(t), this);
710 }
711 append(t, e) {
712 return (this.addSource({ content: new f(t), separator: (e && e.separator) || '' }), this);
713 }
714 clone() {
715 const t = new S({ intro: this.intro, separator: this.separator });
716 return (

Callers

nothing calls this directly

Calls 1

addSourceMethod · 0.95

Tested by

no test coverage detected