Client.ResolveAttachment
ResolveAttachment re-reads the client's live attached hierarchy.
Source and package
- Qualified name
-
tmux.Client. Resolve Attachment - Package
- tmux
- Declared in
Client- Distribution
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/client_attachment.go
- func (c Client) ResolveAttachment( ctx context
.Context , ) (ClientAttachment , error) -
Description#
One resolution materializes one strict Snapshot. Snapshot collection is a multi-command observational read, so concurrent tmux changes may produce a partial hierarchy. A missing client, detached client, or stale session returns an empty attachment without an error. Other collection, decoding, and cardinality errors remain visible.
- Parameters
tmux command#
The tmux commands behind ResolveAttachment.
list-clients list-panes -a server scope, cmd_list_panes_server list-sessions list-windows -a server scope, cmd_list_windows_exec run-shell (the Server has no daemon identity) tmux C API#
The C declarations in tmux that implement these commands.