/opt/cloudlinux/venv/lib/python3.11/site-packages/setuptools/__pycache__
Edit: /opt/cloudlinux/venv/lib/python3.11/site-packages/setuptools/__pycache__/glob.cpython-311.pyc (6525B)
f d Z ddlZddlZddlZg dZddZddZd Zd Zd Z d
Z
d Z ej d Z
ej d
Zd Zd Zd ZdS )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.
N)globiglobescapeFc > 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 D/opt/cloudlinux/venv/lib/python3.11/site-packages/setuptools/glob.pyr r s h)444555 c n t | | }|r"t | 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_isrecursivenext)r r itss r
r r sC
) $ $B \(++ HHu
Ir c # V K t j | \ }}|rt | rt nt
}t
| sK|r$t j | r| V n#t j | r| V d S |s ||| E d {V d S || k r t
| rt || }n|g}t
| st }|D ]3} ||| D ]$}t j || V %4d S N)ospathsplitr glob2glob1 has_magiclexistsisdirr
glob0join)r r dirnamebasenameglob_in_dirdirsnames r
r
r
0 sg
h//GX$Jh)?)?J%%UKX wx((
w}}W%%
;w111111111 (y11gy))yX . .K22 . .D',,w------ .. .r c | sAt |t r t j d } nt j } t j | }n# t $ r g cY S w xY wt j || S NASCII)
isinstancebytesr curdirencodelistdirOSErrorfnmatchfilter)r patternnamess r
r r T s gu%% i&&w//GGiG
7## >%)))s A A)(A)c |s#t j | r|gS n@t j t j | | r|gS g S r )r r r r r )r r s r
r r a sd 7==!! : 7??27<<::;; :
Ir c # n K t | sJ |d d V t | E d {V d S )Nr )r _rlistdir)r r. s r
r r q sT
"1"+!!!!!!!!!!!r c # K | sAt | t r t j d } nt j } t j | }n# t $ r Y d S w xY w|D ]^}|V | r t j | | n|}t | D ]$}t j || V %_d S r$ )
r&