MCPcopy Create free account
hub / github.com/diffusionstudio/vits-web / getStreamChecked

Function getStreamChecked

src/piper.js:2136–2142  ·  view source on GitHub ↗
(fd)

Source from the content-addressed store, hash-verified

2134 throw new FS.ErrnoError(33);
2135 },
2136 getStreamChecked(fd) {
2137 var stream = FS.getStream(fd);
2138 if (!stream) {
2139 throw new FS.ErrnoError(8);
2140 }
2141 return stream;
2142 },
2143 getStream: (fd) => FS.streams[fd],
2144 createStream(stream, fd = -1) {
2145 if (!FS.FSStream) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected