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

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

Issue 39313003: Fix typos in FileSystemEntity.watch documentation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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 2594ff5e285068f67d2cd5eb9d3e915108970fee..bae41faf88d13236a7548d252133d48dc9de5185 100644
--- a/sdk/lib/io/file_system_entity.dart
+++ b/sdk/lib/io/file_system_entity.dart
@@ -340,24 +340,23 @@ abstract class FileSystemEntity {
/**
- * Start watch the [FileSystemEntity] for changes.
+ * Start watching the [FileSystemEntity] for changes.
*
- * The implementation uses platform-depending event-based APIs for receiving
- * file-system notifixations, thus behvaiour depends on the platform.
+ * The implementation uses platform-dependent event-based APIs for receiving
+ * file-system notifications, thus behavior depends on the platform.
*
- * * `Windows`: Uses `ReadDirectoryChangesW`. The implementation supports
- * only watching dirctories but supports recursive watching.
+ * * `Windows`: Uses `ReadDirectoryChangesW`. The implementation only
+ * supports watching directories. Recursive watching is supported.
* * `Linux`: Uses `inotify`. The implementation supports watching both
- * files and dirctories, but doesn't support recursive watching.
+ * files and directories. Recursive watching is not supported.
* * `Mac OS`: Uses `FSEvents`. The implementation supports watching both
- * files and dirctories, and also recursive watching. Note that FSEvents
- * always use recursion internally, so when disabled, some events are
- * ignored.
+ * files and directories. Recursive watching is supported. Note that
+ * FSEvents always use recursion internally, so when disabled, some
Mads Ager (chromium) 2013/10/24 06:20:22 From the user's perspective what does 'when disabl
Anders Johnsen 2013/10/24 06:59:41 Yes, the Mac section is more confusing then descri
Mads Ager (chromium) 2013/10/24 07:22:36 Removed the last sentence. Thanks.
+ * events are ignored.
*
- * The system will start listen for events once the returned [Stream] is
+ * The system will start listening for events once the returned [Stream] is
* being listened to, not when the call to [watch] is issued. Note that the
- * returned [Stream] is endless. To stop the [Stream], simply cancel the
- * subscription.
+ * returned [Stream] is endless. To stop the [Stream], cancel the subscription.
*/
Stream<FileSystemEvent> watch({int events: FileSystemEvent.ALL,
bool recursive: false})
« 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