Method: Pod::Source::Manager#search

Defined in:
lib/cocoapods-core/source/manager.rb

#search(dependency) ⇒ Set?

Search the appropriate sources to match the set for the given dependency.

Returns:

  • (Set, nil)

    a set for a given dependency including all the Pod::Source that contain the Pod. If no sources containing the Pod where found it returns nil.

Raises:

  • If no source can be found that includes the dependency.

[View source]

102
103
104
# File 'lib/cocoapods-core/source/manager.rb', line 102

def search(dependency)
  aggregate_for_dependency(dependency).search(dependency)
end