MCPcopy
hub / github.com/inkeep/open-knowledge / process-lock.test.ts

File process-lock.test.ts

packages/server/src/process-lock.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { afterEach, beforeEach, describe, expect, test } from 'bun:test';
2import { existsSync, readFileSync, writeFileSync } from 'node:fs';
3import { mkdtemp, rm } from 'node:fs/promises';
4import { hostname, tmpdir } from 'node:os';

Callers

nothing calls this directly

Calls 12

lockFilePathFunction · 0.90
acquireProcessLockFunction · 0.90
updateProcessLockPortFunction · 0.90
readProcessLockFunction · 0.90
releaseProcessLockFunction · 0.90
readProcessLockDetailedFunction · 0.90
isValidLockPidFunction · 0.85
parseMethod · 0.80
releaseMethod · 0.80
aliveForeignPidFunction · 0.70
tryAgainFunction · 0.70
mkdirSyncMethod · 0.65

Tested by

no test coverage detected