MCPcopy Create free account
hub / github.com/SethGammon/Citadel / write

Function write

scripts/test-doc-sync.js:17–20  ·  view source on GitHub ↗
(filePath, content)

Source from the content-addressed store, hash-verified

15} = require('../hooks_src/doc-sync');
16
17function write(filePath, content) {
18 fs.mkdirSync(path.dirname(filePath), { recursive: true });
19 fs.writeFileSync(filePath, content, 'utf8');
20}
21
22function readJsonl(filePath) {
23 return fs.readFileSync(filePath, 'utf8')

Callers 1

test-doc-sync.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected