Olve.Paths
0.22.2
See the version list below for details.
dotnet add package Olve.Paths --version 0.22.2
NuGet\Install-Package Olve.Paths -Version 0.22.2
<PackageReference Include="Olve.Paths" Version="0.22.2" />
<PackageVersion Include="Olve.Paths" Version="0.22.2" />
<PackageReference Include="Olve.Paths" />
paket add Olve.Paths --version 0.22.2
#r "nuget: Olve.Paths, 0.22.2"
#:package Olve.Paths@0.22.2
#addin nuget:?package=Olve.Paths&version=0.22.2
#tool nuget:?package=Olve.Paths&version=0.22.2
Olve.Paths
A .NET library for working with file and directory paths inspired by Python's pathlib
module.
It provides a set of classes and methods to manipulate file paths in a more intuitive and object-oriented way.
Features
- Object-oriented interface for file and directory paths.
- Easy navigation and manipulation of paths.
- Supports the
/
operator for path joining.
- Supports the
- Support of different path formats.
- Currently, only Unix-style paths are supported.
See Olve.Paths.Glob
for more information about the globbing functionality.
Installation
Simply install the package via NuGet:
dotnet add package Olve.Paths
Usage
var path = Path.Create("/home/user/documents");
var parent = path.Parent; // /home/user
var folderName = path.Name; // documents
var newPath = path / "newfile.txt"; // /home/user/documents/newfile.txt
var exists = newPath.Exists(); // Check if the file exists
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net9.0
- No dependencies.
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Olve.Paths:
Package | Downloads |
---|---|
Olve.Utilities
Various pieces of utility |
|
Olve.Results
Result type implementation and utilities |
|
Olve.Paths.Glob
Olve.Paths.Glob is a library that provides a set of utilities for working with Olve.Paths paths and glob patterns. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
0.32.2 | 66 | 8/9/2025 |
0.32.1 | 75 | 8/9/2025 |
0.32.0 | 130 | 8/8/2025 |
0.31.0 | 203 | 8/5/2025 |
0.30.0 | 41 | 8/3/2025 |
0.29.1 | 42 | 8/3/2025 |
0.29.0 | 42 | 8/3/2025 |
0.28.2 | 14 | 8/2/2025 |
0.26.2 | 435 | 7/21/2025 |
0.23.0 | 202 | 7/5/2025 |
0.22.2 | 112 | 6/7/2025 |
0.22.1 | 98 | 6/7/2025 |
0.22.0 | 100 | 6/7/2025 |
0.21.0 | 99 | 6/7/2025 |
0.20.2 | 264 | 5/13/2025 |
0.20.1 | 197 | 4/22/2025 |
0.20.0 | 175 | 4/22/2025 |
0.19.3 | 165 | 4/12/2025 |
0.18.0 | 167 | 4/11/2025 |
0.17.2 | 168 | 4/8/2025 |
0.17.1 | 160 | 4/8/2025 |
0.16.0 | 117 | 4/6/2025 |