Method: Pod::Source::Manager#aggregate_with_repos

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

#aggregate_with_repos(repos) ⇒ Source::Aggregate (private)

Returns The aggregate of the sources from repos.

Parameters:

  • repos (Array<Pathname>)

    The local file paths to one or more podspec repo caches.

Returns:



330
331
332
333
334
# File 'lib/cocoapods-core/source/manager.rb', line 330

def aggregate_with_repos(repos)
  sources = repos.map { |path| source_from_path(path) }
  @aggregates_by_repos ||= {}
  @aggregates_by_repos[repos] ||= Source::Aggregate.new(sources)
end