← Back
Editing: glob.cpython-312.pyc
� $��j � � � d Z ddlmZ ddlZddlZddlZddlmZmZ ddl m Z mZmZ e rddl mZmZmZ edee� Zg d�Zddd �Zddd �Zdd�Zedd�� Zedd �� Zd d�Zd� Zed!d�� Zed"d�� Zd#d�Zed$d�� Zed%d�� Zd&d�Z ej8 d� Z ej8 d� Zd'd�Zd(d�Z d� Z!y))z� Filename globbing utility. Mostly a copy of `glob` from Python 3.5. Changes include: * `yield from` and PEP3102 `*` removed. * Hidden files are not ignored. � )�annotationsN)�Iterable�Iterator)� TYPE_CHECKING�TypeVar�overload)� BytesPath�StrOrBytesPath�StrPath�_StrOrBytesT)�escape�glob�iglobc �. � t t | |�� � S )ay Return a list of paths matching a pathname pattern. The pattern may contain simple shell-style wildcards a la fnmatch. However, unlike fnmatch, filenames starting with a dot are special cases that are not matched by '*' and '?' patterns. If recursive is true, the pattern '**' will match any files and zero or more directories and subdirectories. )� recursive)�listr )�pathnamer s �K/root/parts/certbot/install/lib/python3.12/site-packages/setuptools/glob.pyr r s � � ��h�)�4�5�5� c �V � t | |� }|rt | � rt |� }|rJ �|S )a� Return an iterator which yields the paths matching a pathname pattern. The pattern may contain simple shell-style wildcards a la fnmatch. However, unlike fnmatch, filenames starting with a dot are special cases that are not matched by '*' and '?' patterns. If recursive is true, the pattern '**' will match any files and zero or more directories and subdirectories. )�_iglob�_isrecursive�next)r r �it�ss r r r '