dotnet add package PathLib --version 0.9.7.1
NuGet\Install-Package PathLib -Version 0.9.7.1
<PackageReference Include="PathLib" Version="0.9.7.1" />
paket add PathLib --version 0.9.7.1
#r "nuget: PathLib, 0.9.7.1"
// Install PathLib as a Cake Addin #addin nuget:?package=PathLib&version=0.9.7.1 // Install PathLib as a Cake Tool #tool nuget:?package=PathLib&version=0.9.7.1
Paths are commonly used in programming, from opening files to storage directories. They're integral to any program, yet unlike their siblings URLs and URIs very few programming languages (with strong typing) have a strongly typed solution for storing and manipulating paths.
Instead, programmers are forced to store these paths as strings and use a host
of static methods to pinch and twist one path into another. In .Net, these are
found in the
System.IO.Directory namespaces. Common
operations include combining paths (
Path.Combine(path1, path2)) and
extracting the filename (
Path.GetFileName("C:\file.txt")). Since these are
only valid for a particular subset of strings, I'm surprised that more
languages do not have objects corresponding to a path so that methods and
libraries can accept a "path object" and be confident that the input data
conforms to at least a rudimentary set of validation criteria (even if the
path itself doesn't exist on disk).
|Product||Versions Compatible and additional computed target framework versions.|
|.NET||net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed.|
|.NET Core||netcoreapp3.0 was computed. netcoreapp3.1 was computed.|
|.NET Standard||netstandard2.1 is compatible.|
|.NET Framework||net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed.|
|MonoAndroid||monoandroid was computed.|
|MonoMac||monomac was computed.|
|MonoTouch||monotouch was computed.|
|Tizen||tizen60 was computed.|
|Xamarin.iOS||xamarinios was computed.|
|Xamarin.Mac||xamarinmac was computed.|
|Xamarin.TVOS||xamarintvos was computed.|
|Xamarin.WatchOS||xamarinwatchos was computed.|
- No dependencies.
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on PathLib:
This package is not used by any popular GitHub repositories.