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

Function removeFileIfExists

core/coordination/io.js:54–56  ·  view source on GitHub ↗
(filePath)

Source from the content-addressed store, hash-verified

52}
53
54function removeFileIfExists(filePath) {
55 if (fs.existsSync(filePath)) fs.unlinkSync(filePath);
56}
57
58function isProcessAlive(pid) {
59 try {

Callers 3

sweepStaleInstancesFunction · 0.85
releaseClaimFunction · 0.85
unregisterInstanceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected