class Bundler::CompactIndexClient::Cache
def initialize(directory, fetcher = nil)
def initialize(directory, fetcher = nil) @directory = Pathname.new(directory).expand_path @updater = Updater.new(fetcher) if fetcher @mutex = Thread::Mutex.new @endpoints = Set.new @info_root = mkdir("info") @special_characters_info_root = mkdir("info-special-characters") @info_etag_root = mkdir("info-etags") end