Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/inkeep/open-knowledge
/ readLock
Function
readLock
packages/cli/src/commands/ui.test.ts:1080–1083 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1078
1079
let
calls = 0;
1080
const
readLock = () => {
1081
calls++;
1082
return
calls < 3 ? fakeLock(0) : fakeLock(upstreamPort);
1083
};
1084
1085
const
result =
await
resolveUiLockCollision({
1086
requestedPort: 0,
Callers
3
resolveUiLockCollision
Function · 0.70
resolveMcpHttpUrl
Function · 0.50
resolveMcpKeepaliveWsUrl
Function · 0.50
Calls
1
fakeLock
Function · 0.85
Tested by
no test coverage detected