MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / parseHostPpid

Function parseHostPpid

src/mcp/proxy.ts:580–585  ·  view source on GitHub ↗
(raw: string | undefined)

Source from the content-addressed store, hash-verified

578}
579
580function parseHostPpid(raw: string | undefined): number | null {
581 if (raw === undefined || raw === '') return null;
582 const parsed = Number(raw);
583 if (!Number.isInteger(parsed) || parsed <= 1) return null;
584 return parsed;
585}
586
587function isProcessAliveLocal(pid: number): boolean {
588 try {

Callers 3

sendClientHelloFunction · 0.70
startPpidWatchdogFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected