Chromium Code Reviews| Index: sdk/lib/io/directory_impl.dart |
| diff --git a/sdk/lib/io/directory_impl.dart b/sdk/lib/io/directory_impl.dart |
| index e4f3ee1513758da75c88e5bc373acdbced49e6bd..d96151f329d0144cf7a9923eb543d4a712ee68dc 100644 |
| --- a/sdk/lib/io/directory_impl.dart |
| +++ b/sdk/lib/io/directory_impl.dart |
| @@ -226,7 +226,9 @@ class _Directory implements Directory { |
| return new _DirectoryLister(_path, recursive); |
| } |
| - String get path { return _path; } |
| + String get path => _path; |
| + |
| + String toString() => "Directory: '$path'"; |
|
Søren Gjesse
2012/12/21 10:16:00
Are you sure you want the "Directory: " prefix?
Mads Ager (google)
2012/12/21 10:35:03
Good question. I was thinking that it might be hel
|
| bool _isErrorResponse(response) { |
| return response is List && response[0] != _SUCCESS_RESPONSE; |