Server.SocketSelection
SocketSelection returns the socket NewServer selected, snapshotted with the environment and working directory: an explicit socket, else LIBTMUX_SOCKET_PATH, else LIBTMUX_SOCKET, else the server tmux chooses itself from TMUX or its default socket. It does not start tmux or require the selected socket to exist.
Source and package
- Qualified name
-
tmux.Server. Socket Selection - Package
- tmux
- Declared in
Server- Distribution
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/socket_selection.go
- func (s Server) SocketSelection() (Socket
Selection , error) -
- Transport
- It does not start tmux or require the selected socket to exist.doc comment · socket_selection.go:52
Recorded calls
source callsThe Go reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls tmux.Server.SocketSelection.