MCPcopy
hub / github.com/di-sukharev/opencommit / getInput

Function getInput

out/cli.cjs:66641–66647  ·  view source on GitHub ↗
({ input, inputFile })

Source from the content-addressed store, hash-verified

66639};
66640var handleInputSync = (options) => {
66641 const input = getInputSync(options);
66642 if (isStream(input)) {
66643 throw new TypeError("The `input` option cannot be a stream in sync mode");
66644 }
66645 return input;
66646};
66647var getInput = ({ input, inputFile }) => {
66648 if (typeof inputFile !== "string") {
66649 return input;
66650 }

Callers 1

handleInputFunction · 0.85

Calls 1

validateInputOptionsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…