Sha256: 0490db4a7bb07063a147cf52106f4df8dd4e5823fb393468df419cc965472209

Contents?: true

Size: 487 Bytes

Versions: 1

Compression:

Stored size: 487 Bytes

Contents

require 'dsym_uuid_extractor/version'
require 'dsym_uuid_extractor/macho_reader'

module DsymUuidExtractor
  def self.run(file_path)
    results = {}

    reader = if MachOBinaryReader.is_binary_file?(file_path)
               MachOBinaryReader.new(file_path: file_path)
             else
               MachOFileReader.new(file_path: file_path)
             end

    reader.each_file do |file|
      file.extract_info
      results[file.uuid] = file.arch
    end

    results
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dsym_uuid_extractor-0.1.0 lib/dsym_uuid_extractor.rb