Glob.cs
5.1.1490
See the version list below for details.
dotnet add package Glob.cs --version 5.1.1490
NuGet\Install-Package Glob.cs -Version 5.1.1490
<PackageReference Include="Glob.cs" Version="5.1.1490" />
paket add Glob.cs --version 5.1.1490
#r "nuget: Glob.cs, 5.1.1490"
// Install Glob.cs as a Cake Addin #addin nuget:?package=Glob.cs&version=5.1.1490 // Install Glob.cs as a Cake Tool #tool nuget:?package=Glob.cs&version=5.1.1490
Glob.cs
Single-source-file path <a href="http://en.wikipedia.org/wiki/Glob_(programming)">globbing</a> for .NET (netstandard2.0 and net461).
Features
- Choose case sensitivity
- Optionally match only directories
- Injectable file system implementation for easy testing (uses
System.IO.Abstractions
) - Can cancel long running match
- Throw or continue on file system errors
- Optionally log errors to supplied log implementation
- Lazy tree traversal
- Option to limit depth of
**
expansion
Syntax
?
matches a single character*
matches zero or more characters**
matches zero or more recursive directories, e.g.a\**\x
matchesa\x
,a\b\x
,a\b\c\x
, etc.[...]
matches a set of characters, syntax is the same as character groups in Regex.{group1,group2,...}
matches any of the pattern groups. Groups can contain groups and patterns, e.g.{a\b,{c,d}*}
.
Usage
Install the NuGet package Glob.cs
. Then:
var dlls = Glob.Expand(@"c:\windows\system32\**\*.dll");
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. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 is compatible. 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 | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.6.1
- System.IO.Abstractions (>= 20.0.15)
- System.IO.Abstractions.TestingHelpers (>= 20.0.15)
-
.NETStandard 2.0
- System.IO.Abstractions (>= 20.0.15)
- System.IO.Abstractions.TestingHelpers (>= 20.0.15)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on Glob.cs:
Package | Downloads |
---|---|
XmlSchemaClassGenerator.Console
A .NET CLI tool to generate XmlSerializer compatible C# classes from XML Schema files. |
|
dotnet-xscgen-proj
A .NET Core CLI tool to generate XmlSerializer compatible C# classes from XML Schema files. |
|
WckdRzr.Gaspar
Consumes your C# domain models, types and controllers and exports them for other services and languages to consume |
|
CueGen
Generate Rekordbox cue points from Mixed in Key cue points |
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on Glob.cs:
Repository | Stars |
---|---|
indilo53/gtautil
Utility to work with GTA V game files
|
|
mganss/CueGen
Create Rekordbox cue points from Mixed in Key
|
Version | Downloads | Last updated |
---|---|---|
5.1.1491 | 14,983 | 2/12/2024 |
5.1.1490 | 114 | 2/12/2024 |
5.1.1253 | 43,143 | 3/16/2023 |
5.1.1198 | 5,629 | 12/15/2022 |
5.1.766 | 96,837 | 4/18/2021 |
5.0.224 | 84,650 | 1/20/2020 |
4.0.166 | 8,102 | 11/6/2019 |
4.0.37 | 5,631 | 6/26/2019 |
3.0.27 | 3,730 | 3/8/2019 |
3.0.26 | 665 | 3/8/2019 |
3.0.25 | 685 | 3/7/2019 |
2.1.21 | 24,843 | 12/17/2018 |
2.0.13 | 99,891 | 7/29/2018 |
2.0.8 | 922 | 7/26/2018 |
1.3.0 | 8,383 | 12/26/2013 |
1.2.0 | 1,315 | 12/23/2013 |
1.1.0 | 1,252 | 12/23/2013 |
1.0.0 | 1,303 | 12/23/2013 |