TSCBasic: normalise the drive letter spelling on Windows
Windows normalises the drive letter to an uppercase letter. However, some environments (e.g. nodejs) use the lower case spelling. This results in a path spelling difference which triggers a rebuild in the case that the LSP is running within VSCode.
Normalise the spelling to the upper case always when building an
AbsolutePath
.Based on a patch by Ami Fischman!
Co-authored-by: Ami Fischman ami@thebrowser.company
swift-tools-support-core
Contains common infrastructural code for both SwiftPM and llbuild.
⚠️ This package is deprecated
As this package with time has become a collection of unrelated utilities, that made it much harder to version. Primary users of TSC such as SwiftPM and Swift Driver came up with specialized alternatives to APIs provided in TSC. Moving forward, we don’t recommend adding TSC as a dependency to your project. More and more types and functions here will be deprecated, with minimal modifications to ease the migration off TSC.
License
Copyright (c) 2014 - 2019 Apple Inc. and the Swift project authors. Licensed under Apache License v2.0 with Runtime Library Exception.
See http://swift.org/LICENSE.txt for license information.