TmuxVersion
Swift
- Python Unavailable
- Ruby Unavailable
- Lua Unavailable
- TypeScript Unavailable
- Rust Unavailable
- Go Unavailable
- Java Unavailable
- .NET Unavailable
- C++ Unavailable
- Swift
- 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.
8 declared, 9 inherited
Members
- <(_:_:) function Returns a Boolean value indicating whether the value of the first argument is less than that of the second argument.
- 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.
- init(major:minor:pointRelease:build:) method
- init(parsing:) method Reads what
tmux -Vprints. - 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.
Inherited members
Reached through Equatable.!=(_:_:), Comparable....(_:_:), Comparable....(_:), Comparable...<(_:_:), Comparable...<(_:), Comparable.<=(_:_:), Comparable.>(_:_:), Comparable.>=(_:_:), Decodable.init(from:).
- !=(_:_:) Equatable.!=(_:_:) Returns a Boolean value indicating whether two values are not equal.
- ...(_:_:) Comparable....(_:_:) Returns a closed range that contains both of its bounds.
- ...(_:) Comparable....(_:) Returns a partial range up to, and including, its upper bound.
- ..<(_:_:) Comparable...<(_:_:) Returns a half-open range that contains its lower bound but not its upper bound.
- ..<(_:) Comparable...<(_:) Returns a partial range up to, but not including, its upper bound.
- <=(_:_:) Comparable.<=(_:_:) Returns a Boolean value indicating whether the value of the first argument is less than or equal to that of the second argument.
- >(_:_:) Comparable.>(_:_:) Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
- >=(_:_:) Comparable.>=(_:_:) 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:) Decodable.init(from:) Creates a new instance by decoding from the given decoder.