-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor RelativePath to allow late stage canonicalization in support of windows #369
Conversation
companion: swiftlang/swift-package-manager#5910 |
024c262
to
78feb0a
Compare
78feb0a
to
8edc44e
Compare
testing via swiftlang/swift-package-manager#5910 |
Hmm, merging this locally seems to not build on Windows? :/ |
@swift-ci please test Windows platform |
@tomerd did you forget part of the commit?
There is no |
@swift-ci please test Windows platform |
This does seem to regress the test suite:
|
Sources/TSCBasic/Path.swift
Outdated
@@ -338,6 +321,8 @@ public struct RelativePath: Hashable, Sendable { | |||
} | |||
} | |||
|
|||
|
|||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why
968d308
to
e913e15
Compare
tested via swiftlang/swift-package-manager#5910 |
motivation: delay canonicalization of relative path to the construction of absolute path from it, to better fit how windows paths work
changes: