MCPcopy Create free account
hub / github.com/EvoMap/evolver / writePrivateFile

Function writePrivateFile

src/proxy/mailbox/state.js:37–40  ·  view source on GitHub ↗
(filePath, content)

Source from the content-addressed store, hash-verified

35}
36
37function writePrivateFile(filePath, content) {
38 fs.writeFileSync(filePath, content, { encoding: 'utf8', mode: PRIVATE_FILE_MODE });
39 bestEffortChmod(filePath, PRIVATE_FILE_MODE);
40}
41
42function sleepSync(ms) {
43 try {

Callers 1

replaceStateFileFunction · 0.85

Calls 1

bestEffortChmodFunction · 0.85

Tested by

no test coverage detected