![]() |
VOOZH | about |
dotnet add package TruePath.SystemIo --version 1.12.0
NuGet\Install-Package TruePath.SystemIo -Version 1.12.0
<PackageReference Include="TruePath.SystemIo" Version="1.12.0" />
<PackageVersion Include="TruePath.SystemIo" Version="1.12.0" />Directory.Packages.props
<PackageReference Include="TruePath.SystemIo" />Project file
paket add TruePath.SystemIo --version 1.12.0
#r "nuget: TruePath.SystemIo, 1.12.0"
#:package TruePath.SystemIo@1.12.0
#addin nuget:?package=TruePath.SystemIo&version=1.12.0Install as a Cake Addin
#tool nuget:?package=TruePath.SystemIo&version=1.12.0Install as a Cake Tool
This is a library containing a set of types to work with file system paths in .NET.
Historically, .NET has been lacking a good set of types to work with file system paths. The System.IO.Path class has a variety of methods that operate on path strings, but it doesn't provide any types to represent paths themselves. It's impossible to tell whether a method accepts an absolute path, a relative path, a file name, or something file-related at all, only looking at its signature: all these types are represented by plain strings. Also, comparing different paths is not straightforward.
This library aims to fill this gap by providing a set of types that represent paths in a strongly-typed way. Now, you can require a path in a method's parameters, and it is guaranteed that the passed path will be well-formed and will have certain properties.
Also, the methods in the library provide some qualities that are missing from the System.IO.Path: say, we aim to provide several ways of path normalization and comparison, the ones that will and will not perform disk IO to resolve paths on case-insensitive file systems.
The library is inspired by the path libraries used in other ecosystems: in particular, Java's java.nio.file.Path and Kotlin's extensions.
Read more on the documentation site.
If you miss some feature or have questions, do not hesitate to open an issue or go to the discussions section.
| Name | NuGet Package | Documentation |
|---|---|---|
| TruePath | 👁 TruePath on nuget.org |
API Reference |
| TruePath.SystemIo | 👁 TruePath.SystemIo on nuget.org |
API Reference |
| TruePath.TestableIO.System.IO (third-party) | 👁 TruePath.TestableIO.System.IO on nuget.org |
Documentation |
TruePath provides two NuGet packages:
System.IO integration.A third-party package, TruePath.TestableIO.System.IO, adds TestableIO.System.IO.Abstractions integration on top of TruePath.
The project is distributed under the terms of .
The license indication in the project's sources is compliant with the REUSE specification v3.3.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 was computed. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 was computed. |
| .NET Framework | net461 net461 was computed. net462 net462 was computed. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 was computed. net48 net48 was computed. net481 net481 was computed. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
Showing the top 4 NuGet packages that depend on TruePath.SystemIo:
| Package | Downloads |
|---|---|
|
Generaptor
Package Description |
|
|
FVNever.Reuse
.NET library to interact with license information in REUSE-compliant sources. |
|
|
FVNever.Fabricator.Resources
This package is part of Fabricator, an infrastructure automation framework. Fabricator.Resources package provides the resource types available for deployment via Fabricator. |
|
|
FVNever.Meganob
Build system with task dependency tracking. |
Showing the top 1 popular GitHub repositories that depend on TruePath.SystemIo:
| Repository | Stars |
|---|---|
|
ForNeVeR/Cesium
C compiler for the CLI platform
|
[Changed]
- Update the dependencies.
- Drop the dependency on Microsoft.Bcl.Memory from a non-.NET-Standard package version.
[Added]
- #203 (https://github.com/ForNeVeR/TruePath/issues/203): Add PathIo.EnumerateFiles extension methods. Thanks to @pkazakov-dev!