prefetch(reqs)
public
Prefetches specifications from the git repositories in this set.
# File lib/rubygems/resolver/git_set.rb, line 91
def prefetch reqs
return unless @specs.empty?
@repositories.each do |name, (repository, reference)|
source = Gem::Source::Git.new name, repository, reference
source.root_dir = @root_dir
source.remote = @remote
source.specs.each do |spec|
git_spec = Gem::Resolver::GitSpecification.new self, spec, source
@specs[spec.name] = git_spec
end
end
end