MCPcopy Create free account
hub / github.com/nodejs/node / syncLineStartToCursor

Method syncLineStartToCursor

deps/undici/undici.js:16626–16630  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16624 }
16625 }
16626 syncLineStartToCursor() {
16627 this.lineChunkIndex = this.chunkIndex;
16628 this.linePos = this.pos;
16629 this.dropConsumedChunks();
16630 }
16631 dropConsumedChunks() {
16632 while (this.lineChunkIndex > 0) {
16633 this.chunks.shift();

Callers 1

consumeCurrentByteMethod · 0.45

Calls 1

dropConsumedChunksMethod · 0.45

Tested by

no test coverage detected