4 instantiations of GlobMatch
Microsoft.NET.Sdk.StaticWebAssets.Tasks (4)
Utils\Globbing\StaticWebAssetGlobMatcher.cs (4)
27
return
new
(false, string.Empty);
35
return
new
(false, null);
60
return
new
(true, node.Match, stem);
109
return
new
(false, null);
35 references to GlobMatch
Microsoft.NET.Sdk.StaticWebAssets.Tasks (11)
Compression\ResolveCompressedAssets.cs (1)
88
var
match = matcher.Match(matchContext);
Data\ContentTypeProvider.cs (1)
459
var
match = _matcher.Match(context);
DefineStaticWebAssets.cs (3)
137
var
match = matcher.Match(matchContext);
155
var
match = matcher.Match(matchContext);
347
GlobMatch
matchResult = default;
FingerprintPatternMatcher.cs (1)
56
var
matchResult = _matcher.Match(context);
GenerateStaticWebAssetEndpointsManifest.cs (1)
95
var
match = exclusionMatcher.Match(route);
Utils\Globbing\StaticWebAssetGlobMatcher.cs (4)
13
internal
GlobMatch
Match(string path)
20
public
GlobMatch
Match(MatchContext context)
32
var
excluded = MatchCore(excludes, segments, stateStack);
42
private static
GlobMatch
MatchCore(GlobNode includes, PathTokenizer.SegmentCollection segments, Stack<MatchState> stateStack)
Microsoft.NET.Sdk.StaticWebAssets.Tests (24)
StaticWebAssets\Globbing\StaticWebAssetGlobMatcherTest.Compatibility.cs (4)
15
var
match = globMatcher.Match("alpha.txt");
27
var
match = globMatcher.Match("omega.txt");
38
var
match = globMatcher.Match("beta/alpha.txt");
55
var
match = globMatcher.Match(filePath);
StaticWebAssets\Globbing\StaticWebAssetGlobMatcherTest.cs (20)
37
var
match = globMatcher.Match("a");
50
var
match = globMatcher.Match("a/b");
62
var
match = globMatcher.Match("a.a");
74
var
match = globMatcher.Match("c.b.a");
86
var
match = globMatcher.Match("c.a/b");
98
var
match = globMatcher.Match("a/c.b");
110
var
match = globMatcher.Match("a/d.b/c");
131
var
match = globMatcher.Match("a");
153
var
match = globMatcher.Match(input);
186
var
match = globMatcher.Match(input);
226
var
match = globMatcher.Match(input);
279
var
match = globMatcher.Match(input);
299
var
match = globMatcher.Match("a");
311
var
match = globMatcher.Match("c/a");
323
var
match = globMatcher.Match("a/c");
335
var
match = globMatcher.Match("a/b/c");
347
var
match = globMatcher.Match("a/b/c");
359
var
match = globMatcher.Match("c/b/a");
371
var
match = globMatcher.Match("a/b/c");
383
var
match = globMatcher.Match("a/b/c");