On this page
WorkspaceBuilder.build(_:on:)
- Declared in
- WorkspaceBuilder
- Package
- libtmux-swift
- Source
- Sources/TmuxWorkspace/WorkspaceBuilder.swift
-
Creates the workspace's session and returns it.
Fails rather than adopting an existing session of the same name: two callers building the same workspace should not silently share one. A failure after creation removes that exact session. If cleanup also fails,
WorkspaceBuilderError/rollbackFailed(original:cleanup:)reports both errors.- Raises
0 declared, 0 inherited