MCPcopy
hub / github.com/coder/mux / isControlPathReady

Method isControlPathReady

src/node/runtime/sshConnectionPool.ts:348–350  ·  view source on GitHub ↗
(key: string, controlPath: string)

Source from the content-addressed store, hash-verified

346 }
347
348 private isControlPathReady(key: string, controlPath: string): boolean {
349 return this.readyControlPaths.get(key)?.has(controlPath) === true;
350 }
351
352 private markControlPathReady(key: string, controlPath: string): void {
353 const readyPaths = this.readyControlPaths.get(key) ?? new Set<string>();

Callers 1

acquireConnectionMethod · 0.95

Calls 2

getMethod · 0.65
hasMethod · 0.45

Tested by

no test coverage detected