checkoutFiles method

Future<void> checkoutFiles(
  1. List<String> filePaths
)

Implementation

Future<void> checkoutFiles(List<String> filePaths) async {
  final processed = processRenames(filePaths, includeRenameFrom: false);

  await Process.run('git', [
    'checkout',
    '--force',
    '--',
    ...processed,
  ]);
}