pub fn classify_visibility(
module: &ModuleName,
hidden: bool,
test_only: bool,
public_modules: &[ModuleName],
internal_modules: &[ModuleName],
) -> VisibilityExpand description
Resolves a module’s Visibility from its name, the config’s public and
internal module lists, an out-of-band hidden hint (Erlang %% @hidden
or -doc(hidden), Elixir @moduledoc false), and whether its only
exports are -ifdef(TEST)-guarded. An explicit internal listing wins; a
public listing overrides the hidden hint.