GitProcessStarter typedef
GitProcessStarter =
Future<GitProcess> Function(String executable, List<String> arguments, {required Map<String, String> environment, String? workingDirectory})
Starts executable with arguments for runGit, in workingDirectory,
with exactly environment: runGit has already hardened it, so the
starter adds nothing of the parent process's environment. A host's
starter may add what its process layer adds to every process, such as a
search path, and choose which git runs.
Implementation
typedef GitProcessStarter =
Future<GitProcess> Function(
String executable,
List<String> arguments, {
String? workingDirectory,
required Map<String, String> environment,
});