MCPcopy Create free account
hub / github.com/BUPT-GAMMA/MASFactory / forceSyncStdio.cjs

File forceSyncStdio.cjs

masfactory-visualizer/scripts/forceSyncStdio.cjs:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1const fs = require('fs');
2
3function patchStream(stream, fd) {
4 const originalWrite = stream.write.bind(stream);

Callers

nothing calls this directly

Calls 1

patchStreamFunction · 0.85

Tested by

no test coverage detected