Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
54
function
removeFileIfExists(filePath) {
55
if
(fs.existsSync(filePath)) fs.unlinkSync(filePath);
56
}
57
58
function
isProcessAlive(pid) {
59
try {
Callers
3
sweepStaleInstances
Function · 0.85
releaseClaim
Function · 0.85
unregisterInstance
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected