GitHooks.Tasks.MFA.new

You're seeing just the function new, go back to GitHooks.Tasks.MFA module for more information.
Link to this function

new(arg, git_hook_type, git_hook_args)

View Source

Specs

new(mfa(), GitHooks.git_hook_type(), GitHooks.git_hook_args()) :: t()

Creates a new mfa struct.

Examples

iex> Elixir.GitHooks.Tasks.MFA.new({MyModule, :my_function, 1}, :pre_commit, ["commit message"])
%Elixir.GitHooks.Tasks.MFA{module: MyModule, function: :my_function, args: ["commit message"]}