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)
Specs
Creates a new mfa
struct.
Example
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"]}