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 | 17,055 | 2/12/2024 |
5.1.1490 | 118 | 2/12/2024 |
5.1.1253 | 43,664 | 3/16/2023 |
5.1.1198 | 5,657 | 12/15/2022 |
5.1.766 | 97,270 | 4/18/2021 |
5.0.224 | 85,988 | 1/20/2020 |
4.0.166 | 8,281 | 11/6/2019 |
4.0.37 | 5,685 | 6/26/2019 |
3.0.27 | 3,776 | 3/8/2019 |
3.0.26 | 666 | 3/8/2019 |
3.0.25 | 686 | 3/7/2019 |
2.1.21 | 24,848 | 12/17/2018 |
2.0.13 | 100,732 | 7/29/2018 |
2.0.8 | 925 | 7/26/2018 |
1.3.0 | 8,395 | 12/26/2013 |
1.2.0 | 1,318 | 12/23/2013 |
1.1.0 | 1,255 | 12/23/2013 |
1.0.0 | 1,306 | 12/23/2013 |