On this page
Snapshot
- Package
- libtmux-swift
- Source
- Sources/LibTmux/Snapshot.swift
-
Every object read from one daemon incarnation.
A snapshot spans several tmux commands. It rejects a daemon replacement during capture, but another client can still mutate one daemon between its listings; this is a bounded aggregate, not a tmux transaction.
Discussed in Traversal
26 declared, 0 inherited
Members
- !=(_:_:) function Returns a Boolean value indicating whether two values are not equal.
- clients(of:) method The clients attached to a session.
- init(from:) method Creates a new instance by decoding from the given decoder.
- init(incarnation:sessions:windows:windowLinks:panes:clients:) method
- links(of:) method Every link to a window, including repeated links in one session.
- panes(inSession:) method Panes whose session matches.
- panes(inWindow:) method Panes whose window matches — the to-one direction, where a quantifier would say nothing.
- panes(of:) method The panes of a window, in tmux's order.
- session(of:) method The session a client is attached to, if the snapshot still holds it.
- sessions(_:ofPanes:) method Sessions whose panes satisfy a quantified filter.
- sessions(_:ofWindows:) method Sessions whose windows satisfy a quantified filter.
- sessions(of:) method Every session linking a window, in tmux's order.
- sessions(ofPanes:) method Sessions whose panes satisfy a quantified filter.
- sessions(ofWindows:) method Sessions whose windows satisfy a quantified filter.
- windowLinks(of:) method The session-local window links of a session, in tmux's order.
- windows(_:ofPanes:) method Windows whose panes satisfy a quantified filter.
- windows(inSession:) method Windows whose session matches.
- windows(of:) method The windows of a session, in tmux's order.
- windows(ofPanes:) method Windows whose panes satisfy a quantified filter.
- clients property Every attached client, on the same terms as
sessions. - incarnation property The daemon the whole capture came from.
- panes property Every pane, on the same terms as
sessions. - serverProcessID property
- sessions property Every session that existed when the capture ran, in tmux's own order. These are values: walking them cannot reach tmux again, so a relation resolved here is resolved for good.
- windowLinks property Every session-local appearance of those windows.
- windows property Every underlying window, on the same terms as
sessions.