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

Method prependRight

tests/fuzz/edit-model.ts:65–68  ·  view source on GitHub ↗
(index: number, content: string)

Source from the content-addressed store, hash-verified

63 }
64
65 prependRight(index: number, content: string): void {
66 this.split(index)
67 this.right[index] = content + this.right[index]
68 }
69
70 remove(start: number, end: number): void {
71 if (start === end)

Callers 12

update.test.tsFile · 0.45
slice.test.tsFile · 0.45
append.test.tsFile · 0.45
reset.test.tsFile · 0.45
prepend.test.tsFile · 0.45
move.test.tsFile · 0.45
indent.test.tsFile · 0.45
overwrite.test.tsFile · 0.45
remove.test.tsFile · 0.45

Calls 1

splitMethod · 0.95

Tested by

no test coverage detected