Dune.Allowlist.allow

You're seeing just the macro allow, go back to Dune.Allowlist module for more information.
Link to this macro

allow(module, status)

View Source (macro)

Adds a new module to the allowlist and specifices which functions to use.

The module must not be already specified in the allowlist.

Must be called after use Dune.Allowlist.

Examples

# allow all functions in a module
allow Time, :all

# only allow specific functions
allow Function, only: [:identity]

# exclude specific functions
allow Calendar, except: [:put_time_zone_database]

Note: only and except will cover all arities if several functions share a name.