MCPcopy Create free account
hub / github.com/microsoft/vscode-cpptools / line

Method line

Extension/src/Utility/Process/streams.ts:140–148  ·  view source on GitHub ↗

* gets the current line, and advances the position. * @returns the current line

()

Source from the content-addressed store, hash-verified

138 * @returns the current line
139 */
140 private async line() {
141 let line = this.lineBuffer.at(this.current);
142 while (line === undefined) {
143 await this.lineBuffer.changed;
144 line = this.lineBuffer.at(this.current);
145 }
146 this.advance();
147 return line;
148 }
149
150 /**
151 * Skips a number of lines.

Callers 1

skipMethod · 0.95

Calls 2

advanceMethod · 0.95
atMethod · 0.80

Tested by

no test coverage detected