swift-scoped-file-path

0.2.0

Swift package with types for absolute and relative file paths.
Formkunft/swift-scoped-file-path

What's New

Swift Scoped File Path 0.2.0

2025-02-28T22:54:07Z
  • Renamed package to swift-scoped-file-path and module to ScopedFilePath
  • Removed code related to precomposed Unicode strings; this should be handled outside of this package

Full Changelog: v0.1.3...v0.2.0

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", .upToNextMajor(from: "0.2.0")),
	],
	targets: [
		.target(
			// ...
			dependencies: [
				.product(name: "ScopedFilePath", package: "swift-scoped-file-path"),
			]),
	]
)

Then, import ScopedFilePath in your code:

import ScopedFilePath

// ...

Description

  • Swift Tools 6.0.0
View More Packages from this Author

Dependencies

Last updated: Wed May 14 2025 04:07:55 GMT-0900 (Hawaii-Aleutian Daylight Time)