Skip to main content

parse_workspace

Function parse_workspace 

Source
pub fn parse_workspace(content: &str) -> Workspace
Expand description

Parse a (reverse-engineered) workspace.yaml body.

Tolerant by design: scans each line for a key: value pair, matching known key spellings after trimming indentation (so nested blocks still resolve), unquoting the value, and taking the first non-empty match per field.