LibTmux.Workspace.WorkspaceBuilder.Validate
- LibTmux.Workspace.WorkspaceBuilder.Validate ( workspace : Workspace
File , options : WorkspacePlan ? ) voidOptions -
Checks declaration and policy constraints without reading tmux or executing scripts.
Description#
Reuse defers host-script admission until planning determines whether creation is needed. Layout syntax, checksums and minimum cell counts are checked locally; version-specific layout names are checked during planning. Endpoint identity, conflicts, paths on disk, shell syntax and tmux option support are not checked by local validation.
- Parameters
-
-
workspace ( Workspace
File ) – The immutable declaration to check. -
options ( Workspace
Plan ? ) – The policies that will be used for planning.Options
-
- Raises
-
-
Workspace
Format – The declaration cannot be applied under the supplied policies.Exception -
Argument
Exception – A declaration argument or policy value is invalid.
-