pub fn set_routes(
file: &Path,
project_id: &str,
routes: &[RouteValue],
) -> Result<(), String>Expand description
Replaces a project’s routes in its file, in place: its other fields and the file’s comments stay. Routes left empty are dropped.