GlobParser
Utility for parsing and matching glob patterns.
Supports explicit base path syntax with braces, multiple include patterns, exclusion patterns with ! prefix, and wildcards (* for single level, ** for recursive).
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
GlobParser.type
Members list
Type members
Classlikes
Parsed glob pattern representation
Parsed glob pattern representation
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Value members
Concrete methods
Convert glob pattern to regex string
Convert glob pattern to regex string
Attributes
Check if path matches a glob pattern
Check if path matches a glob pattern
Attributes
Check if path matches the parsed glob pattern (any include and no excludes)
Check if path matches the parsed glob pattern (any include and no excludes)
Attributes
Normalize path separators to forward slashes (for Windows compatibility)
Normalize path separators to forward slashes (for Windows compatibility)
Attributes
Parse glob expression like "basePath/{pattern1,pattern2,!exclude}" or legacy "pattern" (base path extracted automatically)
Parse glob expression like "basePath/{pattern1,pattern2,!exclude}" or legacy "pattern" (base path extracted automatically)