Novolis.IO.Paths
2027.0.1.82
See the version list below for details.
dotnet add package Novolis.IO.Paths --version 2027.0.1.82
NuGet\Install-Package Novolis.IO.Paths -Version 2027.0.1.82
<PackageReference Include="Novolis.IO.Paths" Version="2027.0.1.82" />
<PackageVersion Include="Novolis.IO.Paths" Version="2027.0.1.82" />
<PackageReference Include="Novolis.IO.Paths" />
paket add Novolis.IO.Paths --version 2027.0.1.82
#r "nuget: Novolis.IO.Paths, 2027.0.1.82"
#:package Novolis.IO.Paths@2027.0.1.82
#addin nuget:?package=Novolis.IO.Paths&version=2027.0.1.82
#tool nuget:?package=Novolis.IO.Paths&version=2027.0.1.82
Novolis.IO.Paths
Walk parent directories to find a workspace root using caller-supplied markers (files/dirs) or a custom predicate. Used by dogfood apps and Studio hosts to locate repo roots without hard-coded paths.
Install
dotnet add package Novolis.IO.Paths
Quick start
using Novolis.IO.Paths;
// All listed relative paths must exist under the root (file or directory).
if (RootFinder.TryFind(
Environment.CurrentDirectory,
["nuget.config", "Directory.Packages.props"],
out var root))
{
Console.WriteLine(root);
}
// Or supply a custom predicate:
RootFinder.TryFind(startDir, dir => File.Exists(Path.Combine(dir.FullName, ".git", "HEAD")), out root);
API
| Member | Role |
|---|---|
RootFinder.TryFind(start, requiredRelativePaths, out root) |
Nearest ancestor where every marker exists |
RootFinder.TryFind(start, isRoot, out root) |
Nearest ancestor matching Func<DirectoryInfo, bool> |
On failure, root is set to startDir and the method returns false.
Dogfooding
dotnet run --project ../novolis-dogfooding/apps/io/IoSmoke
Related
| Package | Role |
|---|---|
Novolis.IO.Workspace |
Root-scoped file IO (published from novolis-storage) |
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- No dependencies.
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Novolis.IO.Paths:
| Package | Downloads |
|---|---|
|
Novolis.IO.Git
Process-based Git: status, history/graph, stash, diff, branches, and multi-repo workspace batch ops. |
|
|
Novolis.Manuscript
Manuscript workspace catalog, chapter metadata, and diagnostics (no PDF/audio). |
|
|
Novolis.Workspaces.Ledger.Git
Git forest adapter for the work ledger: status matrix, base SHAs, and dirty footprint. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2027.0.1.91 | 0 | 12/5/2026 |
| 2027.0.1.89 | 0 | 12/5/2026 |
| 2027.0.1.88 | 0 | 12/5/2026 |
| 2027.0.1.87 | 0 | 12/5/2026 |
| 2027.0.1.86 | 0 | 12/5/2026 |
| 2027.0.1.85 | 0 | 12/5/2026 |
| 2027.0.1.84 | 0 | 12/5/2026 |
| 2027.0.1.83 | 0 | 12/4/2026 |
| 2027.0.1.82 | 0 | 12/4/2026 |
| 2027.0.0.79 | 37 | 12/4/2026 |
| 2027.0.0.78 | 48 | 12/4/2026 |
| 2026.1.1.71 | 140 | 11/10/2026 |
| 2026.1.1.70 | 378 | 10/25/2026 |
| 2026.1.1.69 | 161 | 10/19/2026 |
| 2026.1.1.68 | 121 | 10/19/2026 |
| 2026.1.1.67 | 117 | 10/19/2026 |
| 2026.1.1.66 | 132 | 10/18/2026 |
| 2026.1.1.64 | 394 | 10/18/2026 |
| 2026.1.1.63 | 123 | 10/18/2026 |
| 2026.1.1.62 | 119 | 10/18/2026 |