# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
BlockSecrets blocks commits if a file is containing a string matching any if the given regexes.
DoesNotContainRegex blocks commits if a file is containing a string matching the given regex.
IsNotEmpty is preventing you from committing empty files to the repository
Example configuration:
{ "run": "CaptainHook::File:IsNotEmpty", "options": { "files": ["README.md", "LICENSE.md"] } }.
MaxSize is preventing you from committing files exceeding a given size limit
Example configuration:
{ "run": "CaptainHook::File:MaxSize", "options": { "max-size": "10M" } }.