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

Method segments

src/utils/MappingsEncoder.ts:75–77  ·  view source on GitHub ↗
(segments: FullSegment[])

Source from the content-addressed store, hash-verified

73 }
74
75 segments(segments: FullSegment[]): void {
76 this.drain(segments)
77 }
78
79 finish(segments: FullSegment[]): string {
80 this.drain(segments)

Callers 2

addUneditedChunkMethod · 0.80

Calls 1

drainMethod · 0.95

Tested by

no test coverage detected