module OpenBuildServiceAPI::BinaryHelper

Public Class Methods

binary_file?(file_name) click to toggle source
# File lib/helpers/binary_helper.rb, line 3
def self.binary_file?(file_name)
  file_name.end_with?('.rpm') || file_name.end_with?('.deb') || file_name.end_with?('.qcow2')
end