GitHooks.Tasks.MFA (git_hooks v0.9.0)
View SourceRepresents a {module, function, arity} (a.k.a. mfa) that will be evaluated
by the Kernel module.
An mfa should be configured as {module, function}. The function of
the module will always receive the hook arguments as a list of argument and the arity is
expected to always be 1.
See Elixir documentation for more information.
For example:
config :git_hooks,
hooks: [
pre_commit: [
{MyModule, :my_function}
]
]
Summary
Functions
Creates a new mfa struct.