ROOTPLOIT
Server: LiteSpeed
System: Linux server71.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
User: niphet (1079)
PHP: 5.3.29
Disabled: NONE
Upload Files
File: //lib/python3.8/site-packages/setuptools/__pycache__/glob.cpython-38.pyc
U

Qab@sdZddlZddlZddlZdddgZdddZdddZd	d
ZddZd
dZ	ddZ
ddZedZ
edZddZddZddZdS)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.
NglobiglobescapeFcCstt||dS)ayReturn 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)pathnamerr3/usr/lib/python3.8/site-packages/setuptools/glob.pyrscCs*t||}|r&t|r&t|}|r&t|S)aReturn 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_isrecursivenextAssertionError)rritsrrr	rs

ccstj|\}}t|sF|r0tj|rB|Vntj|rB|VdS|s|rnt|rnt||D]
}|Vq`nt||D]
}|VqxdS||krt|rt	||}n|g}t|r|rt|rt}qt}nt
}|D]$}|||D]}tj||VqqdSN)ospathsplit	has_magiclexistsisdirrglob2glob1r
glob0join)rrdirnamebasenamexdirsZglob_in_dirnamerrr	r
0s4
r
cCsV|s"t|trtjd}ntj}zt|}Wntk
rHgYSXt||SNASCII)	
isinstancebytesrcurdirencodelistdirOSErrorfnmatchfilter)rpatternnamesrrr	r[s

rcCs8|stj|r4|gSntjtj||r4|gSgSr)rrrrr)rrrrr	rhsrccs2t|st|ddVt|D]
}|Vq"dS)Nr)rr
	_rlistdir)rr*rrrr	rxsrccs|s"t|trtjd}ntj}zt|}Wntjk
rHYdSX|D]>}|V|rjtj||n|}t	|D]}tj||VqvqNdSr )
r"r#rr$r%r&errorrrr,)rr+rryrrr	r,s
r,z([*?[])s([*?[])cCs(t|trt|}n
t|}|dk	Sr)r"r#magic_check_bytessearchmagic_check)rmatchrrr	rs

rcCst|tr|dkS|dkSdS)Ns**z**)r"r#)r*rrr	rs
rcCs<tj|\}}t|tr(td|}ntd|}||S)z#Escape all special characters.
    s[\1]z[\1])rr
splitdriver"r#r/subr1)rZdriverrr	rs

)F)F)__doc__rrer(__all__rrr
rrrr,compiler1r/rrrrrrr	<module>s 


+