lib/cocoapods/installer/pod_source_installer.rb
# Downloads the source of the Pod. It also stores the specific options
# needed to recreate the same exact installation if needed in
# `#specific_source`.
#
# @return [void]
#
Downloads the source of the Pod. It also stores the specific options
needed to recreate the same exact installation if needed in
`#specific_source`.
Downloads the source of the Pod . It also stores the specific options needed to recreate the same exact installation if needed in ` #specific_source ` .
def download_source
        root.rmtree if root.exist?
        if root_spec.version.head?
          downloader.download_head
          @specific_source = downloader.checkout_options
        else
          downloader.download
          unless downloader.options_specific?
            @specific_source = downloader.checkout_options
          end
        end
        if specific_source
        sandbox.store_checkout_source(root_spec.name, specific_source)
        end
      end
def download_source root . rmtree if root . exist? if root_spec . version . head? downloader . download_head @specific_source = downloader . checkout_options else downloader . download unless downloader . options_specific? @specific_source = downloader . checkout_options end end if specific_source sandbox . store_checkout_source ( root_spec . name , specific_source ) end end
Downloads the source of the Pod.
Downloads the source of the Pod .
None
void