Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

method libtmux-go latest

Server.Version

Version returns a materialized handle's daemon version or an unbound handle's cached executable version. Failed probes are not cached. A waiting caller can abandon an in-flight shared probe when ctx ends without canceling its owner.

Source and package
Qualified name
tmux.Server.Version
Package
tmux
Declared in
Server
Distribution
github.com/libtmux/libtmux-go/tmux
Source
tmux/server_version.go
Other languages
Perl Erlang PowerShell Julia Elixir Haskell Common Lisp Python Ruby Lua TypeScript Rust JavaC# C++ Swift Kotlin Scala OCaml F# Clojure
func (s Server) Version( ctx context.Context, ) (Version, error)
Parameters

In other ports#

Which tmux this server runs

Equivalents of Which tmux this server runs in other languages
Language Equivalent
Python no equivalent on Server
Erlang tmux_server:version/1
Haskell No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
TypeScript server.Server.version
Rust no equivalent on Server
Java io.github.libtmux.Server.version
C# LibTmux.Server.Version
C++ Server::tmux_version asks the executable with tmux -V without reaching a server
Swift Server.version()
OCaml Libtmux_unix.Client.version
Perl Read the acquired snapshot metadata version; the core has no standalone live version getter.

No equivalent is recorded in Ruby, Lua, PowerShell, Julia, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.

Esc

Type to search.

Reference previewOpen reference