Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

io.github.libtmux.Server.Server.snapshot

Java

View as Markdown

Module
io.github.libtmux.Server
Declared in
Server
Package
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/Server.java
Other languages
Python RubyLuaTypeScript Rust Go.NET C++ Swift
snapshot ( ) → ServerSnapshot
method [source]
method [source]
snapshot

Captures the whole hierarchy in at most four listings, retrying once if the server is replaced.

One server-wide listing per kind of object, so ordering and membership stay tmux's decision rather than being re-derived from another listing's rows.

A failed read throws, including when no daemon is running. An empty graph means a live server successfully reported no sessions.

Raises
In other ports Capture the whole hierarchy at one instant

0 declared, 0 inherited

Esc

Type to search.