Ask a question to get started
Enter to send•Shift+Enter new line
glob( self, pattern: str, path: str | None = None, ) -> GlobResult
pattern
str
Glob pattern to match files against (e.g., '*.py', '**/*.txt').
'*.py'
'**/*.txt'
path
str | None
None
Base directory to search from.
Defaults to root_dir / cwd.
root_dir
cwd
Find files matching a glob pattern.