4 references to IsLastSegment
Microsoft.Extensions.FileSystemGlobbing (4)
Internal\PatternContexts\PatternContextLinear.cs (1)
27if (!Frame.IsNotApplicable && IsLastSegment() && TestMatchingSegment(file.Name))
Internal\PatternContexts\PatternContextLinearExclude.cs (1)
28return IsLastSegment() && TestMatchingSegment(directory.Name);
Internal\PatternContexts\PatternContextLinearInclude.cs (2)
30onDeclare(Pattern.Segments[Frame.SegmentIndex], IsLastSegment()); 46return !IsLastSegment() && TestMatchingSegment(directory.Name);