class Pod::Downloader::RemoteFile

Public Instance Methods

extract_with_type(full_filename, type = :zip) click to toggle source
# File lib/cocoapods-packager-ext/ext/downloader_ext.rb, line 24
def extract_with_type(full_filename, type = :zip)
    if not type
        unpack_from = url
        unpack_to = @target_path
        FileUtils.rm_rf(unpack_to) if File.exist?(unpack_to)
        FileUtils.rm_rf(unpack_to) if Dir.exist?(unpack_to)
        ln! '-s',unpack_from,unpack_to
    else
        extract_with_type_t full_filename,type
    end

end
Also aliased as: extract_with_type_t
extract_with_type_t(full_filename, type = :zip)
Alias for: extract_with_type
filename_with_type(type = :zip) click to toggle source
# File lib/cocoapods-packager-ext/ext/downloader_ext.rb, line 16
def filename_with_type(type = :zip)
    if not type
        "file"
    else
        filename_with_type_t type
    end
end
Also aliased as: filename_with_type_t
filename_with_type_t(type = :zip)
Alias for: filename_with_type