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

File server-lock.test.ts

packages/server/src/server-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 7

acquireServerLockFunction · 0.90
updateServerLockPortFunction · 0.90
readServerLockFunction · 0.90
releaseServerLockFunction · 0.90
parseMethod · 0.80
aliveForeignPidFunction · 0.70
tryAgainFunction · 0.70

Tested by

no test coverage detected