MCPcopy
hub / github.com/codeaashu/claude-code / isSocketInitialized

Function isSocketInitialized

src/utils/tmuxSocket.ts:118–120  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

116 * Returns whether the socket has been initialized.
117 */
118export function isSocketInitialized(): boolean {
119 return socketPath !== null && serverPid !== null
120}
121
122/**
123 * Gets the TMUX environment variable value for Claude's isolated socket.

Callers 1

ensureSocketInitializedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected