Use Simplified instead of Normalized for path prefix stripping (#2071)

## Summary

This directly matches the naming of the `dunce` methods.
This commit is contained in:
Charlie Marsh 2024-02-28 20:44:50 -05:00 committed by GitHub
parent f315d07133
commit ef15098288
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
26 changed files with 129 additions and 129 deletions

View file

@ -7,7 +7,7 @@ use tracing::warn;
use url::Url;
use pep440_rs::Version;
use uv_fs::Normalized;
use uv_fs::Simplified;
use uv_normalize::PackageName;
use crate::{InstalledMetadata, InstalledVersion, Name};
@ -117,7 +117,7 @@ impl InstalledDist {
pypi_types::Metadata21::parse(&contents).with_context(|| {
format!(
"Failed to parse METADATA file at: {}",
path.normalized_display()
path.simplified_display()
)
})
}