Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(945)

Unified Diff: sdk/lib/io/file_system_entity.dart

Issue 2997573002: [dart:io] Update docs for FileSystemEvent.isDirectory for Windows (Closed)
Patch Set: . Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/io/file_system_entity.dart
diff --git a/sdk/lib/io/file_system_entity.dart b/sdk/lib/io/file_system_entity.dart
index 2641526427edb9a71ad837e9f5e5d285964c2852..9281b5941cc11368d3845a17b662b4a7e11fb431 100644
--- a/sdk/lib/io/file_system_entity.dart
+++ b/sdk/lib/io/file_system_entity.dart
@@ -756,6 +756,10 @@ class FileSystemEvent {
/**
* Is `true` if the event target was a directory.
+ *
+ * Note that if the file has been deleted by the time the event has arrived,
+ * this will always be `false` on Windows. In particular, it will always be
+ * `false` for `DELETE` events.
*/
final bool isDirectory;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698