Skip to main content

list_workspaces

Function list_workspaces 

Source
pub fn list_workspaces(sessions_root: &Path) -> Result<Vec<WorkspaceEntry>>
Expand description

List saved workspace manifests.

§Arguments

  • sessions_root - codex-ws state root.

§Returns

Sorted workspace entries for .yaml files under the workspace config directory.

§Errors

Returns an error when the workspace config directory cannot be read.