pub fn SingleSegmentMatch(Pattern: &str, Segment: &str) -> bool
Match a single path segment against a pattern that may contain *. ? is not supported (rare in workspaceContains patterns) and falls through to literal equality.
*
?