class Bootsnap::LoadPathCache::Cache
def push_paths_locked(*paths)
def push_paths_locked(*paths) @store.transaction do paths.map(&:to_s).each do |path| p = Path.new(path) @has_relative_paths = true if p.relative? next if p.non_directory? p = p.to_realpath expanded_path = p.expanded_path entries = p.entries(@store) # push -> low precedence -> set only if unset entries.each { |rel| @index[rel] ||= expanded_path } end end end