Skip to content

Fix: On Windows, Unix slashes of watched paths normalize to Windows slashes.#721

Open
boenrobot wants to merge 4 commits intonotify-rs:mainfrom
boenrobot:allYourSlashesAreNormalizeToUs
Open

Fix: On Windows, Unix slashes of watched paths normalize to Windows slashes.#721
boenrobot wants to merge 4 commits intonotify-rs:mainfrom
boenrobot:allYourSlashesAreNormalizeToUs

Conversation

@boenrobot
Copy link
Contributor

Fixes #687

@boenrobot boenrobot force-pushed the allYourSlashesAreNormalizeToUs branch from 5facb62 to b80f46c Compare October 20, 2025 17:25
@boenrobot boenrobot changed the title On Windows, Unix slashes of watched paths normalize to Windows slashes. Fix: On Windows, Unix slashes of watched paths normalize to Windows slashes. Oct 20, 2025
boenrobot and others added 3 commits October 21, 2025 13:59
…nly the caconicalize() call. As part of that, trying to watch non existent files or folders will now result in Error:io rather than Error:generic.

Refactor the test_mixed_slashes_are_normalized() to use mpsc for event storage.
…urSlashesAreNormalizeToUs

# Conflicts:
#	notify/src/windows.rs
@JohnTitor
Copy link
Member

@boenrobot Could you take a look and fix the tests?

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.

[Bug]: notify event path is wired at windows.

3 participants