pub fn write_main_dev_by_revs_csv<W: Write>( rows: &[MainDevRow], w: &mut W, code_maat_compat: bool, ) -> Result<()>