MCPcopy Create free account
hub / github.com/Noumena-Network/code / getNcodeSocketName

Function getNcodeSocketName

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

Source from the content-addressed store, hash-verified

89 * Format: ncode-<PID>
90 */
91export function getNcodeSocketName(): string {
92 if (!socketName) {
93 socketName = `${NCODE_SOCKET_PREFIX}-${process.pid}`
94 }
95 return socketName
96}
97
98/**
99 * Gets the socket path if the socket has been initialized.

Callers 5

runFunction · 0.85
execTmuxFunction · 0.85
callFunction · 0.85
killTmuxServerFunction · 0.85
doInitializeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected