Workspace ManagerconceptAPI 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.

libtmux.workspace:read-workspace

(read-workspace path &rest options &key (max-input-bytes +default-max-input-bytes+) &allow-other-keys)

Public owner: libtmux.workspace

Read one bounded regular UTF-8 JSON file and return an owned WORKSPACE. PATH is opened for input and never modified. MAX-INPUT-BYTES is enforced on bytes read even if the file changes after opening. The descriptor is opened nonblocking, then directories and special files are rejected before reading. Other OPTIONS are forwarded to PARSE-WORKSPACE. Signals INVALID-WORKSPACE-DOCUMENT or WORKSPACE-LIMIT-EXCEEDED and closes the stream.

Guides#

Pages that discuss read-workspace.

Esc

Type to search.

Reference previewOpen reference