module Zeitwerk::Loader::EagerLoad

def actual_eager_load_dir(dir, namespace, force: false)

@sig (String, Module, Boolean) -> void

corresponds to `dir`.
The caller is responsible for making sure `namespace` is the namespace that
def actual_eager_load_dir(dir, namespace, force: false)
_exclusions = !force
 if honour_exclusions && excluded_from_eager_load?(dir)
ager load directory #{dir} start") if logger
= [[dir, namespace]]
to_eager_load = queue.shift
 namespace = to_eager_load
ir) do |basename, abspath|
xt if honour_exclusions && eager_load_exclusions.member?(abspath)
 ruby?(abspath)
if (cref = autoloads[abspath])
  cget(*cref)
end
se
if collapse?(abspath)
  queue << [abspath, namespace]
else
  cname = inflector.camelize(basename, abspath).to_sym
  queue << [abspath, cget(namespace, cname)]
end
d
ager load directory #{dir} end") if logger