On this page
TmuxVersion
- Package
- libtmux-swift
- Source
- Sources/LibTmux/TmuxVersion.swift
- struct TmuxVersion : struct TmuxVersion
- Bases:
A tmux release, ordered the way tmux numbers them.
The trailing letter is part of the version, not decoration: tmux 3.7 shipped a
break-panecrash that 3.7a reverted, so code that has to know which one it is talking to needs `3.7 < 3.7a` to be true. Comparing on the numbers alone would make those two equal and the question unanswerable.
17 declared, 0 inherited
Members
- !=(_:_:) function Returns a Boolean value indicating whether two values are not equal.
- ...(_:_:) function Returns a closed range that contains both of its bounds.
- ...(_:) function Returns a partial range up to, and including, its upper bound.
- ..<(_:_:) function Returns a half-open range that contains its lower bound but not its upper bound.
- ..<(_:) function Returns a partial range up to, but not including, its upper bound.
- <(_:_:) function Returns a Boolean value indicating whether the value of the first argument is less than that of the second argument.
- <=(_:_:) function Returns a Boolean value indicating whether the value of the first argument is less than or equal to that of the second argument.
- >(_:_:) function Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
- >=(_:_:) function Returns a Boolean value indicating whether the value of the first argument is greater than or equal to that of the second argument.
- init(from:) method Creates a new instance by decoding from the given decoder.
- init(major:minor:pointRelease:build:) method
- init(parsing:) method Reads what
tmux -Vprints. - build property What tmux was built from when it is not a release:
masterfor a git build,openbsdfor the one in OpenBSD's base system. Absent otherwise. - description property A textual representation of this instance.
- major property The major version —
3in3.7a. - minor property The minor version —
7in3.7a. - pointRelease property The point release's letter —
ain3.7a— empty when there is none. Ordered as tmux issues them, so no letter precedesaprecedesb.