Skip to content

refactor(inotify): wrap watch tuple into Watch struct#787

Merged
JohnTitor merged 1 commit intonotify-rs:mainfrom
riberk:refactor-inotify-watch-struct
Feb 5, 2026
Merged

refactor(inotify): wrap watch tuple into Watch struct#787
JohnTitor merged 1 commit intonotify-rs:mainfrom
riberk:refactor-inotify-watch-struct

Conversation

@riberk
Copy link
Contributor

@riberk riberk commented Feb 3, 2026

Replace the internal (WatchDescriptor, WatchMask, is_recursive, is_dir) tuple with a named Watch struct to improve readability

This prepares for "Filter watch targets" (#717, #623) so the upcoming addition of a new filter field does not get mixed
with this structural refactoring.

Replace the internal (WatchDescriptor, WatchMask, is_recursive, is_dir) tuple with a named Watch
struct to improve readability
Copy link
Member

@JohnTitor JohnTitor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 thank you!

@JohnTitor JohnTitor merged commit 0449e91 into notify-rs:main Feb 5, 2026
30 of 31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants