Sh3ll
OdayForums


Server : LiteSpeed
System : Linux premium84.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
User : claqxcrl ( 523)
PHP Version : 8.1.32
Disable Function : NONE
Directory :  /lib/python3.8/site-packages/pip/_internal/utils/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3.8/site-packages/pip/_internal/utils/__pycache__/urls.cpython-38.pyc
U

��.e��@shddlZddlZddlmZddlmZddlmZerLddl	m
Z
mZmZdd�Z
dd	�Zd
d�ZdS)�N)�parse)�request)�MYPY_CHECK_RUNNING)�Optional�Text�UnioncCs d|krdS|�dd�d��S)N�:�r)�split�lower)�url�r
�</usr/lib/python3.8/site-packages/pip/_internal/utils/urls.py�get_url_scheme
srcCs*tj�tj�|��}t�dt�|��}|S)zh
    Convert a path to a file: URL.  The path will be made absolute and have
    quoted path parts.
    �file:)�os�path�normpath�abspath�urllib_parseZurljoin�urllib_requestZpathname2url)rrr
r
r�path_to_urlsrcCsn|�d�std|��t�|�\}}}}}|r6|dkr<d}n tjdkrPd|}ntd|��t�||�}|S)z(
    Convert a file: URL to a path.
    rz4You can only turn file: urls into filenames (not %r)Z	localhost�Zwin32z\\z:non-local file URIs are not supported on this platform: %r)	�
startswith�AssertionErrorrZurlsplit�sys�platform�
ValueErrorrZurl2pathname)r�_Znetlocrr
r
r�url_to_paths�

��r)rrZpip._vendor.six.moves.urllibrrrrZpip._internal.utils.typingr�typingrrrrrrr
r
r
r�<module>s

ZeroDay Forums Mini