tmux.Server.Snapshot
- Module
- tmux
- Declared in
- Server
- Package
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/snapshot_capture.go
- Other languages
- Python RubyLuaTypeScript Rust Java.NET C++ Swift
- Snapshot ( ctx : context.Context ) (Snapshot, error)
-
Snapshot materializes sessions, winlinks, panes, and clients. Its sequential commands produce an observationally consistent result, not an atomic transaction. Failures remain errors rather than empty snapshots; cancellation may occur after earlier listings completed.
Identity probes reject a daemon replacement during subprocess collection. A connection is already bound to the exact daemon and skips the closing probe; the opening probe still selects version-specific fields.
In other ports Capture the whole hierarchy at one instant
- Python no equivalent on
Server - Ruby
LibTmux::Server#snapshot - Lua
libtmux.Server:snapshot - TypeScript
server.Server.snapshot - Rust no equivalent on
Server - Java
io.github.libtmux.Server.Server.snapshot - .NET
LibTmux.Server.CaptureSnapshotAsync - C++ no equivalent on
Server - Swift
Server.snapshot()
- Python no equivalent on
0 declared, 0 inherited