method
info_path
v2_6_3 -
Show latest stable
- Class:
Bundler::CompactIndexClient::Cache
info_path(name)public
No documentation available.
# File lib/bundler/compact_index_client/cache.rb, line 67
def info_path(name)
name = name.to_s
if name =~ /[^a-z0-9_-]/
name += "-#{SharedHelpers.digest(:MD5).hexdigest(name).downcase}"
info_roots.last.join(name)
else
info_roots.first.join(name)
end
end