Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Rich-Harris/magic-string
/ append
Method
append
tests/fuzz/edit-model.ts:42–44 ·
view source on GitHub ↗
(content: string)
Source
from the content-addressed store, hash-verified
40
}
41
42
append(content: string): void {
43
this.right[this.original.length] += content
44
}
45
46
prepend(content: string): void {
47
this.left[0] = content + this.left[0]
Callers
14
append.test.ts
File · 0.45
misc.test.ts
File · 0.45
indent.test.ts
File · 0.45
build
Function · 0.45
generate-map.test.ts
File · 0.45
trim.test.ts
File · 0.45
clone.test.ts
File · 0.45
append.test.ts
File · 0.45
toMagicString.test.ts
File · 0.45
length.test.ts
File · 0.45
indent.test.ts
File · 0.45
generate-map.test.ts
File · 0.45
Calls
no outgoing calls
Tested by
1
build
Function · 0.36