formkunft/swift-scoped-file-path
A Swift package introducing separate AbsoluteFilePath and RelativeFilePath based on FilePath from Swift System.
Using Swift Scoped File Path in your project
Add swift-scoped-file-path as a dependency to your package:
let package = Package(
// ...
dependencies: [
.package(url: "https://github.com/Formkunft/swift-scoped-file-path.git", .upToNextMajor(from: "0.2.0")),
],
targets: [
.target(
// ...
dependencies: [
.product(name: "ScopedFilePath", package: "swift-scoped-file-path"),
]),
]
)Then, import ScopedFilePath in your code:
import ScopedFilePath
// ...Package Metadata
Repository: formkunft/swift-scoped-file-path
Default branch: main
README: README.md