Current Dir: /snap/core22/2437/usr/lib/python3.10/distutils/__pycache__/
[FILE] archive_util.cpython-310.pyc [ edit | delete | rename ]
[FILE] bcppcompiler.cpython-310.pyc [ edit | delete | rename ]
[FILE] ccompiler.cpython-310.pyc [ edit | delete | rename ]
[FILE] cmd.cpython-310.pyc [ edit | delete | rename ]
[FILE] config.cpython-310.pyc [ edit | delete | rename ]
[FILE] core.cpython-310.pyc [ edit | delete | rename ]
[FILE] cygwinccompiler.cpython-310.pyc [ edit | delete | rename ]
[FILE] debug.cpython-310.pyc [ edit | delete | rename ]
[FILE] dep_util.cpython-310.pyc [ edit | delete | rename ]
[FILE] dir_util.cpython-310.pyc [ edit | delete | rename ]
[FILE] dist.cpython-310.pyc [ edit | delete | rename ]
[FILE] errors.cpython-310.pyc [ edit | delete | rename ]
[FILE] extension.cpython-310.pyc [ edit | delete | rename ]
[FILE] fancy_getopt.cpython-310.pyc [ edit | delete | rename ]
[FILE] filelist.cpython-310.pyc [ edit | delete | rename ]
[FILE] file_util.cpython-310.pyc [ edit | delete | rename ]
[FILE] log.cpython-310.pyc [ edit | delete | rename ]
[FILE] msvc9compiler.cpython-310.pyc [ edit | delete | rename ]
[FILE] msvccompiler.cpython-310.pyc [ edit | delete | rename ]
[FILE] spawn.cpython-310.pyc [ edit | delete | rename ]
[FILE] sysconfig.cpython-310.pyc [ edit | delete | rename ]
[FILE] text_file.cpython-310.pyc [ edit | delete | rename ]
[FILE] unixccompiler.cpython-310.pyc [ edit | delete | rename ]
[FILE] util.cpython-310.pyc [ edit | delete | rename ]
[FILE] version.cpython-310.pyc [ edit | delete | rename ]
[FILE] versionpredicate.cpython-310.pyc [ edit | delete | rename ]
[FILE] _msvccompiler.cpython-310.pyc [ edit | delete | rename ]
[FILE] __init__.cpython-310.pyc [ edit | delete | rename ]
Viewing: /snap/core22/2437/usr/lib/python3.10/distutils/__pycache__/filelist.cpython-310.pyc
o
��bc 2 � @ s� d Z ddlZddlZddlZddlZddlmZ ddlmZm Z ddl
mZ G dd� d�Zdd � Z
ejfd
d�Zdd
� Zddd�ZdS )zsdistutils.filelist
Provides the FileList class, used for poking about the filesystem
and building lists of files.
� N��convert_path)�DistutilsTemplateError�DistutilsInternalError)�logc @ s~ e Zd ZdZddd�Zdd� Zejfdd�Zd d
� Z dd� Z
d
d� Zdd� Zdd� Z
dd� Zdd� Zddd�Z ddd�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 C s d | _ g | _d S �N)�allfiles�files)�self�warn�debug_print� r �)/usr/lib/python3.10/distutils/filelist.py�__init__ s
zFileList.__init__c C s
|| _ d S r )r )r r r r r �set_allfiles# s
zFileList.set_allfilesc C s t |�| _d S r )�findallr )r �dirr r r r &