§
§Õšäk“¢ã ó” — d Z ddlZddlZddlZddlZddlmZ ddlmZm Z ddl
mZ G d„ d¦ « Zd„ Z
ej fd „Zd
„ Zd
d„ZdS )zsdistutils.filelist
Provides the FileList class, used for poking about the filesystem
and building lists of files.
é N©Úconvert_path)ÚDistutilsTemplateErrorÚDistutilsInternalError)Úlogc óp — e Zd ZdZdd„Zd„ Zej fd„Zd„ Z d„ Z
d„ Zd „ Zd
„ Z
d„ Zd„ Zdd„Z dd„ZdS )ÚFileListaÑ A list of files built by on exploring the filesystem and filtered by
applying various patterns to what we find there.
Instance attributes:
dir
directory from which files will be taken -- only used if
'allfiles' not supplied to constructor
files
list of filenames currently being built/filtered/manipulated
allfiles
complete list of files under consideration (ie. without any
filtering applied)
Nc ó" — d | _ g | _ d S ©N)ÚallfilesÚfiles)ÚselfÚwarnÚdebug_prints ú9/opt/alt/python311/lib64/python3.11/distutils/filelist.pyÚ__init__zFileList.__init__ s € 𠈌
؈Œ
ˆ
ˆ
ó c ó — || _ d S r )r )r r s r Úset_allfileszFileList.set_allfiles# s
€ Ø ˆŒ
ˆ
ˆ
r c ó. — t |¦ « | _ d S r )Úfindallr )r Údirs r r zFileList.findall&