Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Rich-Harris/magic-string
/ prependLeft
Method
prependLeft
src/Chunk.ts:98–100 ·
view source on GitHub ↗
(content: string)
Source
from the content-addressed store, hash-verified
96
}
97
98
prependLeft(content: string): void {
99
this.outro = content + this.outro
100
}
101
102
prependRight(content: string): void {
103
this.intro = content + this.intro
Callers
4
append.test.ts
File · 0.45
reset.test.ts
File · 0.45
prepend.test.ts
File · 0.45
replace-all.test.ts
File · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected