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

Function parseHostPpid

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

Source from the content-addressed store, hash-verified

849}
850
851function parseHostPpid(raw: string | undefined): number | null {
852 if (raw === undefined || raw === '') return null;
853 const parsed = Number(raw);
854 if (!Number.isInteger(parsed) || parsed <= 1) return null;
855 return parsed;
856}
857
858function isProcessAliveLocal(pid: number): boolean {
859 try {

Callers 3

sendClientHelloFunction · 0.70
startPpidWatchdogFunction · 0.70

Calls 1

NumberInterface · 0.85

Tested by

no test coverage detected