Snapshot
Swift
- Python Unavailable
- Ruby Unavailable
- Lua Unavailable
- TypeScript Unavailable
- Rust Unavailable
- Go Unavailable
- Java Unavailable
- .NET Unavailable
- C++ Unavailable
- Swift
- 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
24 declared, 2 inherited
Members
- windows(of:) method The windows of a session, in tmux's order.
- panes(of:) method The panes of a window, in tmux's order.
- clients property Every attached client, on the same terms as
sessions. - clients(of:) method The clients attached to a session.
- panes property Every pane, on the same terms as
sessions. - panes(inSession:) method Panes whose session matches.
- panes(inWindow:) method Panes whose window matches — the to-one direction, where a quantifier would say nothing.
- 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.
- 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.
- windows property Every underlying window, on the same terms as
sessions. - windows(_:ofPanes:) method Windows whose panes satisfy a quantified filter.
- windows(inSession:) method Windows whose session matches.
- windows(ofPanes:) method Windows whose panes satisfy a quantified filter.
- incarnation property The daemon the whole capture came from.
- init(incarnation:sessions:windows:windowLinks:panes:clients:) method
- links(of:) method Every link to a window, including repeated links in one session.
- serverProcessID property
- session(of:) method The session a client is attached to, if the snapshot still holds it.
- windowLinks property Every session-local appearance of those windows.
- windowLinks(of:) method The session-local window links of a session, in tmux's order.
Inherited members
Reached through Equatable.!=(_:_:), Decodable.init(from:).
- !=(_:_:) Equatable.!=(_:_:) Returns a Boolean value indicating whether two values are not equal.
- init(from:) Decodable.init(from:) Creates a new instance by decoding from the given decoder.