Class: Pod::Downloader::RemoteFile

Inherits:
Object
  • Object
show all
Defined in:
lib/cocoapods-meitu-bin/native/installer.rb

Instance Method Summary collapse

Instance Method Details

#extract_with_type(full_filename, type = :zip) ⇒ Object



408
409
410
411
412
413
414
# File 'lib/cocoapods-meitu-bin/native/installer.rb', line 408

def extract_with_type(full_filename, type = :zip)
  if File.exist?(full_filename)
    size_kb = File.size(full_filename) / 1024
    CBin::PodSize.record_archive_size(target_path, size_kb)
  end
  mtxx_extract_with_type(full_filename, type)
end

#mtxx_extract_with_typeObject



407
# File 'lib/cocoapods-meitu-bin/native/installer.rb', line 407

alias mtxx_extract_with_type extract_with_type