Index: sdk/lib/io/directory_impl.dart |
diff --git a/sdk/lib/io/directory_impl.dart b/sdk/lib/io/directory_impl.dart |
index a1d8cae4f9c581a31f0f6ac26416cd3ca8c45a69..d1258fbc1928adeb967e673761c7f306cbc141b2 100644 |
--- a/sdk/lib/io/directory_impl.dart |
+++ b/sdk/lib/io/directory_impl.dart |
@@ -125,7 +125,7 @@ class _Directory extends FileSystemEntity implements Directory { |
}); |
} |
- Future<Directory> create({recursive: false}) { |
+ Future<Directory> create({bool recursive: false}) { |
if (recursive) return createRecursively(); |
return _IOService.dispatch(_DIRECTORY_CREATE, [path]).then((response) { |
if (_isErrorResponse(response)) { |
@@ -150,7 +150,7 @@ class _Directory extends FileSystemEntity implements Directory { |
} |
} |
- void createSync({recursive: false}) { |
+ void createSync({bool recursive: false}) { |
if (recursive) return createRecursivelySync(); |
var result = _create(path); |
if (result is OSError) { |
@@ -178,7 +178,7 @@ class _Directory extends FileSystemEntity implements Directory { |
return new Directory(result); |
} |
- Future<Directory> _delete({recursive: false}) { |
+ Future<Directory> _delete({bool recursive: false}) { |
return _IOService.dispatch(_DIRECTORY_DELETE, [path, recursive]) |
.then((response) { |
if (_isErrorResponse(response)) { |
@@ -188,7 +188,7 @@ class _Directory extends FileSystemEntity implements Directory { |
}); |
} |
- void _deleteSync({recursive: false}) { |
+ void _deleteSync({bool recursive: false}) { |
var result = _deleteNative(path, recursive); |
if (result is OSError) { |
throw new DirectoryException("Deletion failed", path, result); |