Method: Pod::Lockfile#spec_repo

Defined in:
lib/cocoapods-core/lockfile.rb

#spec_repo(pod_name) ⇒ String, Nil

Returns the source of the given Pod.

Parameters:

  • pod_name (String)

    The name of the Pod (root name of the specification).

Returns:

  • (String)

    The source of the pod.

  • (Nil)

    If there is no source stored for the given name.

[View source]

103
104
105
# File 'lib/cocoapods-core/lockfile.rb', line 103

def spec_repo(pod_name)
  spec_repos_by_pod[pod_name]
end