removeDirAll static method
Removes a directory at this path, after removing all its contents. Use carefully!
Implementation
static FutureResult<(), IoError> removeDirAll(Path path) async {
return await Fs.ioGuard(() async {
return await Directory(path.asString()).delete(recursive: true);
}).map((_) => ());
}