Skip to content

Comments

Make INotifyWatcher return the native PathNotFound error when watchin…#686

Merged
dfaust merged 2 commits intonotify-rs:mainfrom
JanzenJohn:main
Jun 1, 2025
Merged

Make INotifyWatcher return the native PathNotFound error when watchin…#686
dfaust merged 2 commits intonotify-rs:mainfrom
JanzenJohn:main

Conversation

@JanzenJohn
Copy link
Contributor

Finishes the work started by #611 and closes #685

@JanzenJohn
Copy link
Contributor Author

@dfaust do you know who i can ask to review this, not really sure how your contributing guidelines are / who to @ just saw that you merged the latest PR about 3 weeks ago

@JohnTitor
Copy link
Member

Could you add a regression test for this case?

@dfaust
Copy link
Member

dfaust commented Jun 1, 2025

Looks good. And yes, a regression test wouldn't hurt.
Also, please update the change-log.

@dfaust dfaust merged commit f5c6814 into notify-rs:main Jun 1, 2025
17 checks passed
@dfaust
Copy link
Member

dfaust commented Jun 1, 2025

Thank you!

JohnTitor pushed a commit that referenced this pull request Jan 16, 2026
#686)

* Make INotifyWatcher return the native PathNotFound error when watching non recursively

* add regression test + add entry to changelog

---------

Co-authored-by: John Janzen <[email protected]>
Co-authored-by: John Janzen <[email protected]>
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.

Io error instead of PathNotFound returned, when recursivemode is NonRecursive

4 participants