rmdir method

Future<void> rmdir(
  1. Shell shell,
  2. Directory dir
)

Implementation

Future<void> rmdir(Shell shell, Directory dir) async {
  final rm = await shell.start('rm', arguments: ['-rf', dir.path]);
  await rm.expectZeroExit();
}