Index: sdk/lib/io/directory_impl.dart |
diff --git a/sdk/lib/io/directory_impl.dart b/sdk/lib/io/directory_impl.dart |
index b9935caac1a4ac9a5bdc8120c392107420329419..4d51796c2bc04814c60b6e5c16841818cd7287d0 100644 |
--- a/sdk/lib/io/directory_impl.dart |
+++ b/sdk/lib/io/directory_impl.dart |
@@ -61,6 +61,10 @@ class _Directory implements Directory { |
return (result == 1); |
} |
+ Future<FileStat> stat() => FileStat.stat(path); |
+ |
+ FileStat statSync() => FileStat.statSync(path); |
+ |
// Compute the index of the first directory in the list that exists. If |
// none of the directories exist dirsToCreate.length is returned. |
Future<int> _computeExistingIndex(List dirsToCreate) { |