Skip to content

Commit 0a036db

Browse files
aamcommit-bot@chromium.org
authored andcommitted
[vm/io] Fix FileSystemWatcher enum name typo.
Change-Id: Ie9f2e10847caf794ddc79229ce7bd35a3909896d Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/161600 Reviewed-by: Ryan Macnak <[email protected]> Commit-Queue: Alexander Aprelev <[email protected]>
1 parent 000f313 commit 0a036db

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

runtime/bin/file_system_watcher.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class FileSystemWatcher {
2424
kModifyContent = 1 << 1,
2525
kDelete = 1 << 2,
2626
kMove = 1 << 3,
27-
kModefyAttribute = 1 << 4,
27+
kModifyAttribute = 1 << 4,
2828
kDeleteSelf = 1 << 5,
2929
kIsDir = 1 << 6
3030
};

runtime/bin/file_system_watcher_android.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ static int InotifyEventToMask(struct inotify_event* e) {
8181
mask |= FileSystemWatcher::kModifyContent;
8282
}
8383
if ((e->mask & IN_ATTRIB) != 0) {
84-
mask |= FileSystemWatcher::kModefyAttribute;
84+
mask |= FileSystemWatcher::kModisfyAttribute;
8585
}
8686
if ((e->mask & IN_CREATE) != 0) {
8787
mask |= FileSystemWatcher::kCreate;

runtime/bin/file_system_watcher_linux.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ static int InotifyEventToMask(struct inotify_event* e) {
8080
mask |= FileSystemWatcher::kModifyContent;
8181
}
8282
if ((e->mask & IN_ATTRIB) != 0) {
83-
mask |= FileSystemWatcher::kModefyAttribute;
83+
mask |= FileSystemWatcher::kModifyAttribute;
8484
}
8585
if ((e->mask & IN_CREATE) != 0) {
8686
mask |= FileSystemWatcher::kCreate;

runtime/bin/file_system_watcher_macos.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ Dart_Handle FileSystemWatcher::ReadEvents(intptr_t id, intptr_t path_id) {
358358
mask |= kModifyContent;
359359
}
360360
if ((flags & kFSEventStreamEventFlagItemXattrMod) != 0) {
361-
mask |= kModefyAttribute;
361+
mask |= kModifyAttribute;
362362
}
363363
if ((flags & kFSEventStreamEventFlagItemCreated) != 0) {
364364
mask |= kCreate;

0 commit comments

Comments
 (0)