Olve.Paths
0.33.0
See the version list below for details.
dotnet add package Olve.Paths --version 0.33.0
NuGet\Install-Package Olve.Paths -Version 0.33.0
<PackageReference Include="Olve.Paths" Version="0.33.0" />
<PackageVersion Include="Olve.Paths" Version="0.33.0" />
<PackageReference Include="Olve.Paths" />
paket add Olve.Paths --version 0.33.0
#r "nuget: Olve.Paths, 0.33.0"
#:package Olve.Paths@0.33.0
#addin nuget:?package=Olve.Paths&version=0.33.0
#tool nuget:?package=Olve.Paths&version=0.33.0
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
See the API documentation for more details.
| 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.38.0 | 556 | 2/19/2026 |
| 0.37.2 | 156 | 2/18/2026 |
| 0.37.1 | 150 | 2/18/2026 |
| 0.37.0 | 147 | 2/17/2026 |
| 0.36.1 | 439 | 11/15/2025 |
| 0.36.0 | 261 | 11/15/2025 |
| 0.35.2 | 252 | 11/9/2025 |
| 0.35.1 | 231 | 11/8/2025 |
| 0.35.0 | 216 | 11/8/2025 |
| 0.34.0 | 237 | 10/4/2025 |
| 0.33.0 | 209 | 9/13/2025 |
| 0.32.2 | 279 | 8/9/2025 |
| 0.32.1 | 260 | 8/9/2025 |
| 0.32.0 | 314 | 8/8/2025 |
| 0.31.0 | 383 | 8/5/2025 |
| 0.30.0 | 162 | 8/3/2025 |
| 0.29.1 | 163 | 8/3/2025 |
| 0.29.0 | 152 | 8/3/2025 |
| 0.28.2 | 144 | 8/2/2025 |
| 0.26.2 | 587 | 7/21/2025 |