MCPcopy Create free account
hub / github.com/VitoHowe/glm-coding / readInput

Function readInput

app/services/tdc_vm_runner.cjs:4–10  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2const vm = require('vm');
3
4function readInput() {
5 const inputPath = process.argv[2];
6 if (!inputPath) {
7 throw new Error('missing_input_path');
8 }
9 return JSON.parse(fs.readFileSync(inputPath, 'utf8'));
10}
11
12function makeStorage() {
13 const store = new Map();

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected