pub fn check( repo: Repository, mode: Mode, out: &mut dyn Write, format: OutputFormat, ) -> Result<()>