GitCommandRunner typedef
GitCommandRunner =
Future<ProcessResult> Function(List<String> arguments, String workingDirectory)
Runs a git subcommand with the given arguments in workingDirectory.
Injectable to allow tests to stub git invocations. Defaults to
_runGitCommand, which invokes the git executable.
Implementation
typedef GitCommandRunner =
Future<ProcessResult> Function(
List<String> arguments,
String workingDirectory,
);