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

Function write

scripts/test-worktree-readiness.js:26–29  ·  view source on GitHub ↗
(filePath, content)

Source from the content-addressed store, hash-verified

24}
25
26function write(filePath, content) {
27 fs.mkdirSync(path.dirname(filePath), { recursive: true });
28 fs.writeFileSync(filePath, content);
29}
30
31function listen(port = 0) {
32 return new Promise((resolve) => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected