package
0.0.0-20241124183659-bba8be701433
Repository: https://github.com/captainhook-go/captainhook.git
Documentation: pkg.go.dev

# 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

# Constants

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" } }.