MCPcopy Create free account
hub / github.com/devcontainers/cli / data

Function data

src/spec-common/shellServer.ts:138–141  ·  view source on GitHub ↗
(chunk: Buffer)

Source from the content-addressed store, hash-verified

136 let j = 0;
137 let results: string[] = [];
138 function data(chunk: Buffer) {
139 const str = decoder.write(chunk);
140 consume(str);
141 }
142 function consume(str: string) {
143 // console.log(`consume ${numberOfResults}: '${str}'`);
144 const i = str.indexOf(EOT);

Callers

nothing calls this directly

Calls 2

consumeFunction · 0.85
writeMethod · 0.65

Tested by

no test coverage detected