pub fn execute( dir: &Path, mode: Mode, strict: bool, update_lock: bool, ) -> Result<Outcome, String>