-
Notifications
You must be signed in to change notification settings - Fork 634
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FSEventsWatcher: use common recReadDir (#1409)
Summary: Pull Request resolved: #1409 `FSEventsWatcher` has its own implementation of `recReaddir` which is almost identical to the one in `./common.js`, except that it wraps handlers in `path.normalize`. There’s only one handler, so we can trivially remove this proxy abstraction and reuse the common `recReaddir`. (The end goal here is to slim down and tidy up FSEventsWatcher ahead of using it as a basis for native recursive watching) Changelog: Internal Reviewed By: huntie Differential Revision: D67286092 fbshipit-source-id: 8a72f5dead13b0eae25e03bcc998397332ed58e6
- Loading branch information
1 parent
d26b18c
commit 6d2ccbf
Showing
1 changed file
with
3 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters