Skip to content

fix: respect case sensitivity of filesystem when collecting new files#1699

Merged
wolfv merged 9 commits intoprefix-dev:mainfrom
wolfv:case-sensitive-new-file-collection
Jun 2, 2025
Merged

fix: respect case sensitivity of filesystem when collecting new files#1699
wolfv merged 9 commits intoprefix-dev:mainfrom
wolfv:case-sensitive-new-file-collection

Conversation

@wolfv
Copy link
Member

@wolfv wolfv commented May 28, 2025

This should fix #1375

The issue boils down to the fact that the filesystem on Windows is case-insensitive (foobar.txt == FOOBAR.txt) but path comparison in Rust is not case-insensitive. Or maybe, to be more precise, case-preserving while being case-insensitive.

So we sometimes detected a file as new, even though it matched an existing file (just different casing of the parent directory).

@wolfv wolfv merged commit 669028f into prefix-dev:main Jun 2, 2025
18 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.

Files from dependency non-deterministically included in package built on Windows

1 participant