Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

enum libtmux-swift latest

Endpoint

Where a tmux server listens.

Source and package
Qualified name
Endpoint
Package
libtmux-swift
Source
Sources/LibTmux/Endpoint.swift
enum Endpoint : enum Endpoint

Description#

tmux resolves a name against TMUX_TMPDIR at exec time, so the same name can denote different servers in different environments. A path denotes one socket. The two are mutually exclusive, and a value of either kind is always addressable — the length check that a path must pass happens here rather than at bind time, where it would surface as an opaque failure.

A third kind names no socket at all. tmux then chooses the server itself, as it does for a command typed in a shell: the one in TMUX when the process runs inside tmux, and the default socket in TMUX_TMPDIR otherwise.

Members6#

Common operations1#

Other members5#

Inherited members2 members#

Reached through Equatable.!=(_:_:), Decodable.init(from:).

  • !=(_:_:) function inherited Returns a Boolean value indicating whether two values are not equal.
  • init(from:) method inherited Creates a new instance by decoding from the given decoder.
Esc

Type to search.

Reference previewOpen reference