Core LibraryunreleasedAPI Reference

Choose documentation 2

latest

Current version

latest
English

Unreleased libtmux has not been released. Its API may change during development. This site's structure and URLs may change too.

function libtmux-ocaml latest

Snapshot.create

Validate and materialize a complete captured graph without I/O. Equal duplicate global rows collapse in first-occurrence order; conflicting rows and dangling references return Error.Capture_raced. Links at different indexes remain distinct, including within one session. At most 10,000 input rows are admitted. Each session needs one current link and each window one active pane. Capture spans an interval, not an atomic instant. Input strings are bytes; no Unicode normalization is performed.

Source and package
Qualified name
Libtmux.Snapshot.create
Module
Libtmux
Declared in
Snapshot
Package
libtmux
Source
lib/libtmux.mli
val create : source:Source.t -> id:Id.t -> started_at_ns:int64 -> finished_at_ns:int64 -> sessions:Input.session list -> windows:Input.window list -> window_links:Input.window_link list -> panes:Input.pane list -> clients:Input.client list -> (t, Error.t) result

Public owner: Libtmux

Esc

Type to search.

Reference previewOpen reference