MCPcopy
hub / github.com/affaan-m/ECC / writeFile

Function writeFile

tests/scripts/preview-pack-smoke.test.js:29–33  ·  view source on GitHub ↗
(rootDir, relativePath, content)

Source from the content-addressed store, hash-verified

27}
28
29function writeFile(rootDir, relativePath, content) {
30 const targetPath = path.join(rootDir, relativePath);
31 fs.mkdirSync(path.dirname(targetPath), { recursive: true });
32 fs.writeFileSync(targetPath, content);
33}
34
35function manifestContent() {
36 return [

Callers 2

seedRepoFunction · 0.70
runTestsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected