-
-
Notifications
You must be signed in to change notification settings - Fork 704
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[mac] Improve handling of rename events (#750)
* drop support for macOS 10.12 and lower * record inodes for all events * use inode to match rename events * add flush method * update tests to new NativeEvent * simplify handling of created and removed events * added test for case-change * clean up loop over native events Co-authored-by: Mickaël Schoentgen <contact@tiger-222.fr> * added changelog entries * remove unneeded Py_INCREF calls * Revert "simplify handling of created and removed events" This reverts commit 75afbd2. * allow inode to be None this is the case for kFSEventStreamEventFlagRootChanged * join event_dispatcher in `test_event_dispatcher` * fix memory management for inode * better logs for macOS tests * show flags in log output * fix returning inode attribute * tweak error message for unsupported macOS Co-authored-by: Mickaël Schoentgen <contact@tiger-222.fr> * emit debug instead of info logs from `queue_events` Co-authored-by: Mickaël Schoentgen <contact@tiger-222.fr>
- Loading branch information
Showing
6 changed files
with
195 additions
and
89 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
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
Oops, something went wrong.