|
Server : Apache System : Linux cvar2.toservers.com 3.10.0-962.3.2.lve1.5.73.el7.x86_64 #1 SMP Wed Aug 24 21:31:23 UTC 2022 x86_64 User : njnconst ( 1116) PHP Version : 8.4.18 Disable Function : NONE Directory : /proc/self/root/opt/alt/python35/lib64/python3.5/__pycache__/ |
Upload File : |
>�Ma� � @ s� d Z d d l Z d d l Z d d l Z d d d g Z d d d d � Z d d d d � Z d
d � Z d d
� Z d d � Z d d � Z
d d � Z e j d � Z
e j d � Z d d � Z d d � Z d d � Z d d � Z d S)zFilename globbing utility.� N�glob�iglob�escape� recursiveFc C s t t | d | �� 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.
r )�listr )�pathnamer � r �)/opt/alt/python35/lib64/python3.5/glob.pyr s c C s1 t | | � } | r- t | � r- t | � } | 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�sr r r r s c c sN t j j | � \ } } t | � s_ | rD t j j | � r[ | Vn t j j | � r[ | Vd S| s� | r� t | � r� t | | � Ed Hn t | | � Ed Hd S| | k r� t | � r� t | | � } n | g } t | � r| r� t | � r� t } qt } n t
} x<