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

Function addPid

src/ops/lifecycle.js:521–524  ·  view source on GitHub ↗
(pid)

Source from the content-addressed store, hash-verified

519function getOwnedLoopPids(discoveredPids) {
520 var candidates = new Set();
521 function addPid(pid) {
522 var parsed = parseInt(pid, 10);
523 if (Number.isFinite(parsed) && parsed > 0) candidates.add(parsed);
524 }
525 (discoveredPids || []).forEach(addPid);
526 addPid(readPidFile(PID_FILE));
527 try {

Callers 1

getOwnedLoopPidsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected