>GitSource

GitSource

Provides support for fetching a specification file from a Git remote.

Supports all the options of the downloader (is similar to the git key of source attribute of a specification).

Inherits from:

Pod::ExternalSources::AbstractExternalSource

Subclasses hooks

fetch

description

fetch

Signature

fetch(sandbox) #=> undefined

Source

189 def fetch(sandbox)
190   pre_download(sandbox)
191 end

Source Files

lib/cocoapods/external_sources.rb:189

spec/unit/external_sources_spec.rb

description

Signature

description #=> undefined

Source

195 def description
196   "from `#{params[:git]}`".tap do |description|
197     description << ", commit `#{params[:commit]}`" if params[:commit]
198     description << ", branch `#{params[:branch]}`" if params[:branch]
199     description << ", tag `#{params[:tag]}`" if params[:tag]
200   end
201 end

Source Files

lib/cocoapods/external_sources.rb:195

spec/unit/external_sources_spec.rb