initGit function
Init git repository in test directory
Implementation
Future<void> initGit(Directory testDir, {bool isEolLfEnabled = true}) async {
await initLocalGit(testDir);
if (isEolLfEnabled) {
await enableEolLf(testDir);
}
}
Init git repository in test directory
Future<void> initGit(Directory testDir, {bool isEolLfEnabled = true}) async {
await initLocalGit(testDir);
if (isEolLfEnabled) {
await enableEolLf(testDir);
}
}