4 references to TestMatchingSegment
Microsoft.Extensions.FileSystemGlobbing (4)
Internal\PatternContexts\PatternContextLinear.cs (2)
27if (!Frame.IsNotApplicable && IsLastSegment() && TestMatchingSegment(file.Name)) 45else if (!TestMatchingSegment(directory.Name))
Internal\PatternContexts\PatternContextLinearExclude.cs (1)
28return IsLastSegment() && TestMatchingSegment(directory.Name);
Internal\PatternContexts\PatternContextLinearInclude.cs (1)
46return !IsLastSegment() && TestMatchingSegment(directory.Name);