gitbutler/crates/gitbutler-repo
Sebastian Thiel d63babff0a
Assure that Project::path can be compared reasonably with other paths (#5096)
When testing paths for prefix-matches it's important they are all normalized in
the same fashion.

`canonicalize()` is very particular about canonicalizing Windows paths, which
makes it easy for these paths to not be compatible to other absolute-looking
paths.

The difficulty here is to get the right trade-off between performance and
safety, e.g. we wouldn't want these canonicalized Windows paths to be used
anywhere as they are very uncommon (and don't even work everywhere).
2024-10-11 21:59:51 +02:00
..
src Assure that Project::path can be compared reasonably with other paths (#5096) 2024-10-11 21:59:51 +02:00
tests Introduce merge_base_octopussy 2024-10-02 14:59:11 +02:00
Cargo.toml LIst conflicted files in commit files list 2024-10-09 20:21:57 +02:00