MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / isSocketInitialized

Function isSocketInitialized

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

Source from the content-addressed store, hash-verified

118 * Returns whether the socket has been initialized.
119 */
120export function isSocketInitialized(): boolean {
121 return socketPath !== null && serverPid !== null
122}
123
124/**
125 * 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