RegisterCommand class

Mixed-in types

Constructors

RegisterCommand()
const

Properties

gitDir String?
no setterinherited
gitHooksDir String?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
root String?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

compile(Iterable<({String executablePath, Future<ProcessResult> process})> executablesToCompile, void fail(String)) Future<List<String>?>
copyExecutables(List<String> executables, {required String gitHooksDir}) int
dartToolGitHooksDir(String root) → Directory
inherited
definedHooks(String root) → (List<DefinedHook>, int?)
executablesDir(String root) → Directory
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
prepareExecutables(List<DefinedHook> definedHooks, {required Directory hooksDartToolDir, required Directory executablesDir}) Iterable<({String executablePath, Future<ProcessResult> process})>
run() Future<int>
setHooksPath() Future<int?>
toString() String
A string representation of this object.
inherited

Operators

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