class documentation
class CommitMsgShellHook(ShellHook):
commit-msg shell hook
Method | __init__ |
Setup shell hook definition |
Inherited from ShellHook
:
Method | execute |
Execute the hook with given args |
Instance Variable | cwd |
Undocumented |
Instance Variable | filepath |
Undocumented |
Instance Variable | name |
Undocumented |
Instance Variable | numparam |
Undocumented |
Instance Variable | post |
Undocumented |
Instance Variable | pre |
Undocumented |
overrides
dulwich.hooks.ShellHook.__init__
Setup shell hook definition
Parameters | |
controldir | Undocumented |
name | name of hook for error messages |
path | absolute path to executable file |
numparam | number of requirements parameters |
pre | closure for setup before execution Defaults to None. Takes in the variable argument list from the execute functions and returns a modified argument list for the shell hook. |
post | closure for cleanup after execution Defaults to None. Takes in a boolean for hook success and the modified argument list and returns the final hook return value if applicable |
cwd | working directory to switch to when executing the hook |