({fileDescriptors}, fdNumber)
| 83 | // However, while `subprocess.std*` and transforms follow that direction, any stream passed the `std*` option has the opposite direction. |
| 84 | // For example, `subprocess.stdin` is a writable, but the `stdin` option is a readable. |
| 85 | export const isInputFileDescriptor = ({fileDescriptors}, fdNumber) => fdNumber !== 'all' && fileDescriptors[fdNumber].direction === 'input'; |
| 86 | |
| 87 | // When `stream.destroy()` is called without an `error` argument, stream is aborted. |
| 88 | // This is the only way to abort a readable stream, which can be useful in some instances. |
no outgoing calls
no test coverage detected