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

Method from

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

* Splits the iterator into two, and advances the new iterator to the line that matches the expression.

(expression: string | RegExp)

Source from the content-addressed store, hash-verified

96 * Splits the iterator into two, and advances the new iterator to the line that matches the expression.
97 */
98 from(expression: string | RegExp) {
99 return this.tee().skipTo(expression);
100 }
101
102 /**
103 * Stops the iterator at the point where we find the matching line.

Callers 14

processHtmlFilesFunction · 0.80
processJsonSchemaFilesFunction · 0.80
extractHostsFunction · 0.80
getTargetsMethod · 0.80
initializeSshTargetsFunction · 0.80
selectSshTargetFunction · 0.80
constructorMethod · 0.80
constructorMethod · 0.80
createOrShowMethod · 0.80

Calls 2

teeMethod · 0.95
skipToMethod · 0.80

Tested by

no test coverage detected