Submit
Path:
~
/
/
lib
/
python3.8
/
site-packages
/
pip
/
_internal
/
utils
/
__pycache__
/
File Content:
urls.cpython-38.pyc
U ��.e� � @ sh d dl Z d dlZd dlmZ d dlmZ d dlmZ erLd dl m Z mZmZ dd� Z dd � Zd d� ZdS )� N)�parse)�request)�MYPY_CHECK_RUNNING)�Optional�Text�Unionc C s d| krd S | � dd�d �� S )N�:� r )�split�lower)�url� r �</usr/lib/python3.8/site-packages/pip/_internal/utils/urls.py�get_url_scheme s r c C s* t j�t j�| ��} 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_requestZpathname2url)r r r r r �path_to_url s r c C sn | � d�std| ��t�| �\}}}}}|r6|dkr<d}n tjdkrPd| }ntd| ��t�|| �}|S )z( Convert a file: URL to a path. r z4You 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�AssertionErrorr Zurlsplit�sys�platform� ValueErrorr Zurl2pathname)r �_Znetlocr r r r �url_to_path s � ��r )r r Zpip._vendor.six.moves.urllibr r r r Zpip._internal.utils.typingr �typingr r r r r r r r r r �<module> s
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
__init__.cpython-38.opt-1.pyc
155 bytes
0644
__init__.cpython-38.pyc
155 bytes
0644
appdirs.cpython-38.opt-1.pyc
8043 bytes
0644
appdirs.cpython-38.pyc
8043 bytes
0644
compat.cpython-38.opt-1.pyc
6839 bytes
0644
compat.cpython-38.pyc
6839 bytes
0644
deprecation.cpython-38.opt-1.pyc
2826 bytes
0644
deprecation.cpython-38.pyc
2826 bytes
0644
encoding.cpython-38.opt-1.pyc
1247 bytes
0644
encoding.cpython-38.pyc
1247 bytes
0644
filesystem.cpython-38.opt-1.pyc
2773 bytes
0644
filesystem.cpython-38.pyc
2773 bytes
0644
filetypes.cpython-38.opt-1.pyc
556 bytes
0644
filetypes.cpython-38.pyc
556 bytes
0644
glibc.cpython-38.opt-1.pyc
2257 bytes
0644
glibc.cpython-38.pyc
2257 bytes
0644
hashes.cpython-38.opt-1.pyc
4144 bytes
0644
hashes.cpython-38.pyc
4144 bytes
0644
inject_securetransport.cpython-38.opt-1.pyc
932 bytes
0644
inject_securetransport.cpython-38.pyc
932 bytes
0644
logging.cpython-38.opt-1.pyc
9159 bytes
0644
logging.cpython-38.pyc
9159 bytes
0644
marker_files.cpython-38.opt-1.pyc
928 bytes
0644
marker_files.cpython-38.pyc
928 bytes
0644
misc.cpython-38.opt-1.pyc
23382 bytes
0644
misc.cpython-38.pyc
23382 bytes
0644
models.cpython-38.opt-1.pyc
1924 bytes
0644
models.cpython-38.pyc
1924 bytes
0644
packaging.cpython-38.opt-1.pyc
2608 bytes
0644
packaging.cpython-38.pyc
2608 bytes
0644
setuptools_build.cpython-38.opt-1.pyc
1258 bytes
0644
setuptools_build.cpython-38.pyc
1258 bytes
0644
subprocess.cpython-38.opt-1.pyc
5598 bytes
0644
subprocess.cpython-38.pyc
5598 bytes
0644
temp_dir.cpython-38.opt-1.pyc
4853 bytes
0644
temp_dir.cpython-38.pyc
4943 bytes
0644
typing.cpython-38.opt-1.pyc
1285 bytes
0644
typing.cpython-38.pyc
1285 bytes
0644
ui.cpython-38.opt-1.pyc
11755 bytes
0644
ui.cpython-38.pyc
11810 bytes
0644
unpacking.cpython-38.opt-1.pyc
6189 bytes
0644
unpacking.cpython-38.pyc
6189 bytes
0644
urls.cpython-38.opt-1.pyc
1350 bytes
0644
urls.cpython-38.pyc
1465 bytes
0644
virtualenv.cpython-38.opt-1.pyc
878 bytes
0644
virtualenv.cpython-38.pyc
878 bytes
0644
N4ST4R_ID | Naxtarrr