Файловый менеджер - Редактировать - /home/digitalm/venv/lib/python3.7/site-packages/setuptools/__pycache__/_path.cpython-37.pyc
Назад
B �5�g � @ sX d dl Z d dlZd dlmZ eee jf Zdd� Zeeed�dd�Z eed�d d �Z dS )� N)�Unionc C s t j�| �}t j|dd� dS )z1Ensure that the parent directory of `path` existsT)�exist_okN)�os�path�dirname�makedirs)r r � r �8/tmp/pip-install-251nq386/setuptools/setuptools/_path.py�ensure_directory s r )�p1�p2�returnc C s t | �t |�kS )a� Differs from os.path.samefile because it does not require paths to exist. Purely string based (no comparison between i-nodes). >>> same_path("a/b", "./a/b") True >>> same_path("a/b", "a/./b") True >>> same_path("a/b", "././a/b") True >>> same_path("a/b", "./a/b/c/..") True >>> same_path("a/b", "../a/b/c") False >>> same_path("a", "a/b") False )�normpath)r r r r r � same_path s r )�filenamer c C s6 t jdkrtj�| �n| }tj�tj�tj�|���S )z2Normalize a file/dir name for comparison purposes.�cygwin)�sys�platformr r �abspath�normcase�realpathr )r �filer r r r ! s r )r r �typingr �str�PathLikeZ_Pathr �boolr r r r r r �<module> s
| ver. 1.4 |
Github
|
.
| PHP 8.3.23 | Генерация страницы: 0.05 |
proxy
|
phpinfo
|
Настройка