관리-도구
편집 파일: filelist.cpython-310.pyc
o 6��f 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 �9/opt/alt/python310/lib64/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 &