MCPcopy Create free account
hub / github.com/dwgx/WindsurfAPI / keyByPort

Function keyByPort

src/langserver.js:313–318  ·  view source on GitHub ↗
(port)

Source from the content-addressed store, hash-verified

311}
312
313function keyByPort(port) {
314 for (const [key, entry] of _pool) {
315 if (entry?.port === port) return key;
316 }
317 return '';
318}
319
320export function beginLsUse(port) {
321 const entry = getLsEntryByPort(port);

Callers 2

beginLsUseFunction · 0.85
beginLsMaintenanceUseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected