1 implementation of Segments
Microsoft.Extensions.FileSystemGlobbing (1)
Internal\Patterns\PatternBuilder.cs (1)
224
public IList<IPathSegment>
Segments
{ get; }
6 references to Segments
Microsoft.Extensions.FileSystemGlobbing (6)
Internal\PatternContexts\PatternContextLinear.cs (4)
53
IPathSegment segment = Pattern.
Segments
[Frame.SegmentIndex];
83
return Frame.SegmentIndex == Pattern.
Segments
.Count - 1;
88
if (Frame.SegmentIndex >= Pattern.
Segments
.Count)
93
return Pattern.
Segments
[Frame.SegmentIndex].Match(value);
Internal\PatternContexts\PatternContextLinearInclude.cs (2)
28
if (Frame.SegmentIndex < Pattern.
Segments
.Count)
30
onDeclare(Pattern.
Segments
[Frame.SegmentIndex], IsLastSegment());