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);
36 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);
360
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 (25)
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 (21)
48
var
match = globMatcher.Match(path);
60
var
match = globMatcher.Match("a");
73
var
match = globMatcher.Match("a/b");
85
var
match = globMatcher.Match("a.a");
97
var
match = globMatcher.Match("c.b.a");
109
var
match = globMatcher.Match("c.a/b");
121
var
match = globMatcher.Match("a/c.b");
133
var
match = globMatcher.Match("a/d.b/c");
154
var
match = globMatcher.Match("a");
176
var
match = globMatcher.Match(input);
209
var
match = globMatcher.Match(input);
249
var
match = globMatcher.Match(input);
302
var
match = globMatcher.Match(input);
322
var
match = globMatcher.Match("a");
334
var
match = globMatcher.Match("c/a");
346
var
match = globMatcher.Match("a/c");
358
var
match = globMatcher.Match("a/b/c");
370
var
match = globMatcher.Match("a/b/c");
382
var
match = globMatcher.Match("c/b/a");
394
var
match = globMatcher.Match("a/b/c");
406
var
match = globMatcher.Match("a/b/c");