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

Method flush

src/utils/MappingsEncoder.ts:128–131  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

126 }
127
128 private flush(): void {
129 this.out += decoder.decode(scratch.subarray(0, this.pos))
130 this.pos = 0
131 }
132}

Callers 2

finishMethod · 0.95
drainMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected