Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Rich-Harris/magic-string
/ appendLeft
Method
appendLeft
tests/fuzz/edit-model.ts:50–53 ·
view source on GitHub ↗
(index: number, content: string)
Source
from the content-addressed store, hash-verified
48
}
49
50
appendLeft(index: number, content: string): void {
51
this.split(index)
52
this.left[index] += content
53
}
54
55
prependLeft(index: number, content: string): void {
56
this.split(index)
Callers
15
update.test.ts
File · 0.45
slice.test.ts
File · 0.45
append.test.ts
File · 0.45
reset.test.ts
File · 0.45
replace.test.ts
File · 0.45
create
Function · 0.45
misc.test.ts
File · 0.45
move.test.ts
File · 0.45
indent.test.ts
File · 0.45
build
Function · 0.45
replace-all.test.ts
File · 0.45
removed
Function · 0.45
Calls
1
split
Method · 0.95
Tested by
4
create
Function · 0.36
build
Function · 0.36
removed
Function · 0.36
create
Function · 0.36