Add direct URL conversion to lockfile (#3633)

## Summary

Similar to #3630, but for direct URL distributions (for both wheels and
source distributions).
This commit is contained in:
Charlie Marsh 2024-05-17 17:32:42 -04:00 committed by GitHub
parent 0d512be46c
commit e2d7d2026b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 115 additions and 13 deletions

View file

@ -202,6 +202,7 @@ pub struct DirectUrlBuiltDist {
pub filename: WheelFilename,
/// The URL without the subdirectory fragment.
pub location: Url,
/// The subdirectory fragment, if any.
pub subdirectory: Option<PathBuf>,
/// The URL with the subdirectory fragment.
pub url: VerbatimUrl,