libtmux Reference MCP Search
On this page

io.github.libtmux.query.LegacyFilters.LegacyFilters

View as Markdown

Module
io.github.libtmux.query.LegacyFilters
Package
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/query/LegacyFilters.java
class io.github.libtmux.query.LegacyFilters.LegacyFilters
classreadonly [source]
classreadonly [source]
class io.github.libtmux.query.LegacyFilters.LegacyFilters

The name__contains=dev form, confined to the edge.

<p>Python libtmux accepts filters as keyword arguments whose names encode the operator. That shape cannot survive into the typed API: the field and the operator arrive as untrusted strings, so nothing about their pairing can be checked before the program runs. This parser exists so callers carrying such strings — a CLI flag, a config file, a stored query — have one supported way in, and so the rest of the library never has to accept them.

<p>Everything it rejects is a compile error in the typed form. That is the trade being made explicit rather than hidden: one place where a wrong field name or a text operator on a number becomes a runtime failure, and the type system everywhere else.

2 declared, 0 inherited

Members

  • FieldCatalog class The fields a legacy caller may name.
  • parse method Parses field__operator keys into a conjunction, in the map's iteration order.
Esc

Type to search.