View Source backwater_module_exposure (backwater v3.6.0)
Summary
Types
-type content_type() :: {nonempty_binary(), nonempty_binary()}.
-type exports() :: #{fun_arity_pair() => fun_properties()}.
-type fun_arity_pair() :: {binary(), arity()}.
-type fun_properties() :: #{known_content_types := [content_type(), ...], function_ref := fun()}.
-type lookup_result() :: {true, {BinModule :: nonempty_binary(), module_info()}} | false.
-type module_info() :: #{exports := exports()}.
-type opt() :: {exports, all | [{atom(), arity()}]}.
-type raw_module_info() :: [{atom(), term()}].
-type t() :: module() | {module(), [opt()]}.
Functions
-spec metadata_export_list() -> [{atom(), arity()}].