MCPcopy Create free account
hub / github.com/sindresorhus/execa / getInputFdNumbers

Function getInputFdNumbers

lib/io/input-sync.js:12–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10};
11
12const getInputFdNumbers = fileDescriptors => new Set(Object.entries(fileDescriptors)
13 .filter(([, {direction}]) => direction === 'input')
14 .map(([fdNumber]) => Number(fdNumber)));
15
16const addInputOptionSync = (fileDescriptors, fdNumber, options) => {
17 const {stdioItems} = fileDescriptors[fdNumber];

Callers 1

addInputOptionsSyncFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected