You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: file_set_fixity_check_service.rb
    path of file: ./repos/hyrax/app/services/hyrax
    
    the code of the file until where you have to start completion: # frozen_string_literal: true
module Hyrax
  ##
  # This class runs fixity checks on a {FileSetBehavior}, potentially on multiple
  # files each with multi
    
    def fixity_check_file_version(file_id, version_uri)
      latest_fixity_check = ChecksumAuditLog.logs_for(file_set.id, checked_uri: version_uri).first
      return latest_fixity_check unless needs_fixity_check?(latest_fixity_check)

      if async_jobs
        FixityCheckJob.perform_later(version_uri.to_s, file_set_id: file_set.id, file_id: file_id)
      else
        FixityCheckJob.perform_now(version_uri.to_s, file_set_id: file_set.id, file_id: file_id)
      end