MCPcopy
hub / github.com/coder/mux / stripPng

Function stripPng

scripts/reproWorkspaceSwitchTearWeb.ts:397–399  ·  view source on GitHub ↗
(frames: SwitchFrameSample[])

Source from the content-addressed store, hash-verified

395}
396
397function stripPng(frames: SwitchFrameSample[]) {
398 return frames.map(({ png, ...rest }) => rest);
399}
400
401async function main() {
402 const muxRoot = await fs.mkdtemp(path.join(os.tmpdir(), "mux-web-repro-"));

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected