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

Function parseHostPpid

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

Source from the content-addressed store, hash-verified

583}
584
585function parseHostPpid(raw: string | undefined): number | null {
586 if (raw === undefined || raw === '') return null;
587 const parsed = Number(raw);
588 if (!Number.isInteger(parsed) || parsed <= 1) return null;
589 return parsed;
590}
591
592function isProcessAliveLocal(pid: number): boolean {
593 try {

Callers 3

sendClientHelloFunction · 0.70
startPpidWatchdogFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected