관리-도구
편집 파일: genericpath.cpython-310.opt-1.pyc
o 6��fo � @ s� d Z ddlZddlZg d�Zdd� Zdd� Zdd � Zd d� Zdd � Zdd� Z dd� Z dd� Zdd� Zdd� Z dd� Zdd� Zdd� ZdS )z� Path operations common to more than one OS Do not use directly. The OS specific modules import the appropriate functions from this module themselves. � N)�commonprefix�exists�getatime�getctime�getmtime�getsize�isdir�isfile�samefile�sameopenfile�samestatc C s* zt �| � W dS ttfy Y dS w )zDTest whether a path exists. Returns False for broken symbolic linksFT)�os�stat�OSError� ValueError)�path� r �2/opt/alt/python310/lib64/python3.10/genericpath.pyr s ��r c C �4 zt �| �}W n ttfy Y dS w t�|j�S )z%Test whether a path is a regular fileF)r r r r �S_ISREG�st_mode)r �str r r r � �r c C r )z<Return true if the pathname refers to an existing directory.F)r r r r �S_ISDIRr )�sr r r r r '