HookConfig class

Represents one hook block in the config (e.g. pre-commit:)

Constructors

HookConfig({bool parallel = false, Map<String, CommandConfig> commands = const {}, Map<String, CommitMsgCommandConfig> msgCommands = const {}})
Creates a HookConfig with the given commands
const

Properties

commands Map<String, CommandConfig>
Named shell commands to execute for this hook
final
hashCode int
The hash code for this object.
no setterinherited
msgCommands Map<String, CommitMsgCommandConfig>
Named commit-msg commands — only used for HookType.commitMsg
final
parallel bool
Whether to run commands in parallel (default: false)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited