Workspace ManagerAPI Reference

Choose documentation 3

latest

Current version

latest
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

LibTmux.Workspace.WorkspaceFile.Parse

API reference · Markdown

LibTmux.Workspace.WorkspaceFile.Parse ( yaml : string ) → WorkspaceFile
methodstatic [source]

Reads a workspace from tmuxp YAML or JSON.

Parameters
  • yaml ( string ) – The file contents.

Returns

The parsed workspace.

Raises
  • WorkspaceFormatException – The input is too large, malformed, contains more than one document, or uses a key or value shape outside the supported subset.

Discussed in C# workspace internals , Use the C# workspace builder , C# workspace builder behavior

Esc

Type to search.