MCPcopy Index your code
hub / github.com/microsoft/vscode-cpptools / push

Method push

Extension/src/Utility/Process/streams.ts:326–335  ·  view source on GitHub ↗
(line?: string)

Source from the content-addressed store, hash-verified

324 }
325
326 private push(line?: string) {
327 if (this.#partial !== undefined) {
328 this.#partial = this.#partial.trimEnd();
329 this.#buffer.push(this.#partial);
330 for (const pipe of this.#pipes) {
331 void pipe.writeln(this.#partial);
332 }
333 }
334 this.#partial = line;
335 }
336
337 /** processes a chunk from the stream */
338 private readChunk(chunk: Buffer) {

Callers 15

closeMethod · 0.95
readChunkMethod · 0.95
nodeCallbackFunction · 0.80
attributeCallbackFunction · 0.80
descriptionCallbackFunction · 0.80
provideConfigurationsFunction · 0.80
quickInfo.test.tsFile · 0.80
inlayhints.test.tsFile · 0.80
reference.test.tsFile · 0.80
resolveVariablesFunction · 0.80

Calls 1

writelnMethod · 0.65

Tested by 1

provideConfigurationsFunction · 0.64