| Index: utils/pub/io.dart
|
| diff --git a/utils/pub/io.dart b/utils/pub/io.dart
|
| index 039965ee92e7056616f5d596f6df4543b45f5437..84d01bc0fe4c925bad2bd0db19786c665ac6da1e 100644
|
| --- a/utils/pub/io.dart
|
| +++ b/utils/pub/io.dart
|
| @@ -125,6 +125,15 @@ Future<File> writeTextFile(file, String contents) {
|
| }
|
|
|
| /**
|
| + * Asynchronously deletes [file], which can be a [String] or a [File]. Returns a
|
| + * [Future] that completes when the deletion is done.
|
| + */
|
| +Future<Directory> deleteFile(file) {
|
| + file = _getFile(file);
|
| + return file.delete();
|
| +}
|
| +
|
| +/**
|
| * Creates a directory [dir]. Returns a [Future] that completes when the
|
| * directory is created.
|
| */
|
|
|