entrypoint/execute_hook library

Functions

bindHookInvocation({required String name, required Hook hook, required List<String> args, String stdinContent = ''}) → ({Hook boundHook, HookContext context, String? messageFile, String? remoteName, String? remoteUrl})
Binds Git hook args into remote / message-file fields and a HookContext.
executeHook(String name, Hook hook, List<String> args) Future<void>
normalizeHookName(String name) String
shouldSkipHooks([Map<String, String>? environment]) bool
Whether hooksman should no-op based on environment variables.