Ejabberd.Config.Validator.Dependencies (ejabberd v23.10.0)
Validator module used to validate dependencies specified with the @dependency annotation.
Summary
Functions
Given a module (with the form used for validation) it checks if the @dependency annotation is respected and returns the validation tuple with the errors updated, if found.
Types
Link to this type
mod_validation()
@type mod_validation() :: {[EjabberdModule.t()], EjabberdModule.t(), map()}
Functions
Link to this function
validate(arg)
@spec validate(mod_validation()) :: mod_validation()
Given a module (with the form used for validation) it checks if the @dependency annotation is respected and returns the validation tuple with the errors updated, if found.