MCPcopy Create free account
hub / github.com/alibaba/open-code-review / writeTarget

Function writeTarget

bin/ocr.test.js:132–136  ·  view source on GitHub ↗
(fixture, name, source)

Source from the content-addressed store, hash-verified

130}
131
132function writeTarget(fixture, name, source) {
133 const target = path.join(fixture.root, name);
134 fs.writeFileSync(target, source);
135 return target;
136}
137
138function runLauncher(fixture, args, signal, readyToken) {
139 return new Promise((resolve, reject) => {

Callers 3

testExitCodePropagationFunction · 0.85
testGracefulSignalRelayFunction · 0.85
testSignalDeathExitCodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected