관리-도구
편집 파일: genericpath.cpython-36.pyc
3 \� � @ s� d Z ddlZddlZddddddd d ddd gZdd� Zdd � Zdd � Zdd� 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( yt j| � W n tk r" dS X dS )zDTest whether a path exists. Returns False for broken symbolic linksFT)�os�stat�OSError)�path� r �#/usr/lib64/python3.6/genericpath.pyr s c C s0 yt j| �}W n tk r" dS X tj|j�S )z%Test whether a path is a regular fileF)r r r �S_ISREG�st_mode)r �str r r r s c C s0 yt j| �}W n tk r" dS X tj|j�S )z<Return true if the pathname refers to an existing directory.F)r r r �S_ISDIRr )�sr r r r r '