@@ -557,7 +557,7 @@ def glob(self, path, maxdepth=None, **kwargs):
557
557
path: str
558
558
The glob pattern to match against
559
559
maxdepth: int or None
560
- Maximum depth for '**' patterns. Applied on the first '**' found.
560
+ Maximum depth for `` '**'`` patterns. Applied on the first `` '**'`` found.
561
561
Must be at least 1 if provided.
562
562
**kwargs:
563
563
Additional arguments passed to ``find`` (e.g., detail=True)
@@ -570,7 +570,7 @@ def glob(self, path, maxdepth=None, **kwargs):
570
570
-----
571
571
Supported patterns:
572
572
- '*': Matches any sequence of characters within a single directory level
573
- - '**': Matches any number of directory levels (must be an entire path component)
573
+ - `` '**'`` : Matches any number of directory levels (must be an entire path component)
574
574
- '?': Matches exactly one character
575
575
- '[abc]': Matches any character in the set
576
576
- '[a-z]': Matches any character in the range
@@ -584,7 +584,7 @@ def glob(self, path, maxdepth=None, **kwargs):
584
584
- Special characters in character classes are escaped properly
585
585
586
586
Limitations:
587
- - '**' must be a complete path component (e.g., 'a/**/b', not 'a**b')
587
+ - `` '**'`` must be a complete path component (e.g., `` 'a/**/b'`` , not `` 'a**b'`` )
588
588
- No brace expansion ('{a,b}.txt')
589
589
- No extended glob patterns ('+(pattern)', '!(pattern)')
590
590
"""
0 commit comments