ReleaseMap
Looks up native tmux names and flags in the source of exact upstream releases.
Source and package
- Qualified name
-
LibTmux. Release Map - Module
- LibTmux
- Package
- libtmux
- Source
- lib/libtmux/release_map.ex
-
Description
Use
releases/1to choose between releases andlookup/2to inspect a definition. A feature listed at 3.3 can predate the library's floor. The map keeps removals and flag argument changes between tagged releases.A definition identifies a source file and commit. For a format,
:availabilitydistinguishes the native format table from a literal name a command or mode adds to its own context. A name that only the native manual lists has availability:documented.:build_conditionsrecords source guards on settings and in static format callbacks. For example, the value ofsixel_supportdepends on the daemon's build. User formats, computed names absent from the manual and configurable command aliases depend on the caller or daemon.These pure functions read compiled data. Check a live daemon separately when a decision depends on its build, configuration or runtime state.
Members6 members
- definition/0: definition() :: %{
:name => String
.t (), :source => String.t (), :commit => String.t (), :release => String.t (), optional(:alias) => String.t () | nil, optional(:argument) => :none | :required | :optional, optional(:build_conditions) => [String.t ()], optional(:availability) => :table | :contextual | :documented, optional(:contexts) => [String.t ()] } typealias A named declaration in one exact release and its upstream source commit. - lookup/2 function Looks up a command, flag, option, hook or format in one tagged release.
- reason/0: reason() :: :unknown_release | :unlisted | :invalid_subject typealias A missing release, an unlisted name or flag, or malformed query input.
- releases/0 function Lists the source releases in chronological order, including lettered patch releases.
- releases/1 function Lists every indexed release that declares the subject.
- subject/0: subject() ::
{:command | :option | :hook | :format, String
.t ()} | {:flag, String.t (), String.t ()} typealias A native name, or a short flag scoped to one native command.