XenoAtom.Glob
1.0.0
Prefix Reserved
dotnet add package XenoAtom.Glob --version 1.0.0
NuGet\Install-Package XenoAtom.Glob -Version 1.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="XenoAtom.Glob" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="XenoAtom.Glob" Version="1.0.0" />
<PackageReference Include="XenoAtom.Glob" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add XenoAtom.Glob --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: XenoAtom.Glob, 1.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package XenoAtom.Glob@1.0.0
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=XenoAtom.Glob&version=1.0.0
#tool nuget:?package=XenoAtom.Glob&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
XenoAtom.Glob

<img align="right" width="256px" height="256px" src="https://raw.githubusercontent.com/XenoAtom/XenoAtom.Glob/main/img/XenoAtom.Glob.png">
A high-performance .NET glob library with gitignore compatibility.
✨ Features
- Compiled glob patterns with
*,?, character classes, escapes, and** - Git-compatible ignore parsing for
.gitignoreand.ignore - Repository-aware ignore matching with repository discovery and
core.ignorecasesupport - Low-allocation APIs for hot paths, including
ReadOnlySpan<char>overloads and reusable evaluators - Ignore-aware file tree walking with directory pruning and file metadata capture
- Differential tests against the Git CLI, with
net10+ and NativeAOT support
🚀 Quick Example
using XenoAtom.Glob.Git;
using XenoAtom.Glob.IO;
var repository = RepositoryDiscovery.Discover(@"C:\code\my-repo");
var walker = new FileTreeWalker();
// Walk the working tree while honoring the repository ignore rules.
foreach (var entry in walker.Enumerate(repository.WorkingTreeRoot, new FileTreeWalkOptions
{
RepositoryContext = repository,
}))
{
Console.WriteLine(entry.RelativePath);
}
📖 User Guide
For more details on how to use XenoAtom.Glob, please visit the user guide.
Thread Safety
GlobPattern,IgnoreRule,IgnoreRuleSet,IgnoreMatcher,RepositoryContext,FileTreeWalkOptions,FileTreeEntry, and parse/evaluation result values are immutable or internally synchronized and can be shared across threads.RepositoryDiscoveryis stateless and can be called concurrently.FileTreeWalkerinstances can start multiple concurrent traversals, but each returned enumeration should be consumed by only one thread at a time.IgnoreMatcherEvaluatoris intentionally reusable but not thread-safe. Create one evaluator per concurrent worker and dispose it when that worker is done.
🪪 License
This software is released under the BSD-2-Clause license.
🤗 Author
Alexandre Mutel aka xoofx.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on XenoAtom.Glob:
| Repository | Stars |
|---|---|
|
CodeAlta/CodeAlta
Your efficient agentic AI coding CLI assistant
|
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 2,331 | 4/4/2026 |