tmux_snapshot:metadata/0
Capture identity and provenance. id identifies this snapshot, origin its registered endpoint and generation the endpoint lifetime. model_version names the row representation. graph describes relationship coverage, not atomicity.
Source and package
- Qualified name
-
tmux_snapshot: metadata/0 - Declared in
tmux_snapshot- Package
- libtmux_erlang
- Source
- apps/libtmux_erlang/src/tmux_snapshot.erl
- -type metadata() :: #{id := reference(), origin := reference(), model_version := 2, graph := complete | partial, generation => reference(), endpoint => #{socket_path := binary()}, server_instance => tmux
_identity: (), tmux_version => tmuxt _version: (), capture_started => integer(), capture_finished => integer(), time_unit => microsecond, source_calls => [sourcet _call ()], observed_bytes => non_neg (), consistency => observed, hydration => tmux_integer _server: (), capabilities => #{field_schema := 1, identity := observed, capture := observed}, query => queryhydration _metadata (), atom() => term()}. -
Description#
Live captures include endpoint, observed server_instance, tmux_version, monotonic capture bounds in time_unit, source_calls, observed stdout bytes and capabilities. Those fields can be absent in internally constructed partial captures. Query captures also include
query_metadata/0. Opaque references and process identities are local values, not portable wire identifiers. hydration records the requestedtmux_server:hydration/0strategy; source_calls shows which commands actually ran, including any schema-driven fallback.