class KPM::BaseArtifact

def verify(logger, file_path, remote_sha1)

def verify(logger, file_path, remote_sha1)
  # Can't check :(
  if remote_sha1.nil?
    logger.warn("Unable to verify sha1 for #{coordinates}. Artifact info: #{artifact_info.inspect}")
    return true
  end
  local_sha1 = Digest::SHA1.file(file_path).hexdigest
  local_sha1 == remote_sha1
end