Skip to main content

save_roster

Function save_roster 

Source
pub fn save_roster(
    storage_root: &Path,
    roster: &[AgentDefinition],
) -> Result<(), String>
Expand description

Persist roster to <storage_root>/Agents/roster.json as pretty JSON, creating the Agents directory if needed.