MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / pidFilePath

Function pidFilePath

src/cli/bot-process.ts:15–15  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13import { QODEX_HOME } from '../config/defaults.js';
14
15export function pidFilePath(): string { return path.join(QODEX_HOME, 'bot.pid'); }
16
17/** Parse a PID from a pidfile body. PURE. */
18export function parsePid(raw: string | null | undefined): number | null {

Callers 4

botStatusFunction · 0.85
startBotFunction · 0.85
stopBotFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected