Файловый менеджер - Редактировать - /opt/support/venv/lib/python3.13/site-packages/pip/_internal/utils/__pycache__/urls.cpython-313.pyc
Ðазад
� ��iA � �T � S SK r S SKrS SKrS SKrSSKJr S\S\4S jrS\S\4S jr g) � N� )�WINDOWS�path�returnc � � [ R R [ R R U 5 5 n [ R R S[ R R U 5 5 nU$ )z\ Convert a path to a file: URL. The path will be made absolute and have quoted path parts. zfile://) �osr �normpath�abspath�urllib�parse�urljoin�request�pathname2url)r �urls �J/opt/support/venv/lib/python3.13/site-packages/pip/_internal/utils/urls.py�path_to_urlr sO � � �7�7���B�G�G�O�O�D�1�2�D� �,�,� � �y�&�.�.�*E�*E�d�*K� L�C��J� r c �� � U R S5 ( d SU < S35 e[ R R U 5 u pn nU( a US:X a SnO [ ( a SU- nO[ SU < 35 e[ R R X#- 5 n[ ( aD U( d= [ U5 S:� a. US S :X a% US [ R ; a USS S; a USS nU$ )z Convert a file: URL to a path. zfile:z1You can only turn file: urls into filenames (not �)� localhost� z\\z8non-local file URIs are not supported on this platform: � r �/r � � )�:z:/N)� startswithr r �urlsplitr � ValueErrorr �url2pathname�len�string� ascii_letters)r �_�netlocr s r �url_to_pathr&