✘✘ GRAYBYTE WORDPRESS FILE MANAGER ✘✘

​🇳​​🇦​​🇲​​🇪♯➤ server366.web-hosting.com ​🇻​♯➤ 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP 🇾​♯➤ 2025

𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 67.223.118.204 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.216.173
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗙𝗙 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ 𝗔𝗟𝗟 𝗪𝗢𝗥𝗞𝗜𝗡𝗚....

𝗛𝗢𝗠𝗘
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /opt/alt/python34/lib/python3.4/site-packages/pip/vcs/__pycache__//__init__.cpython-34.pyc
�
�Re,"�@s�dZddlZddlZddlmZmZddlmZddlm	Z	m
Z
mZmZm
Z
ddgZGdd	�d	e�Ze�ZGd
d�de�Zdd�ZdS)
z)Handles all VCS (version control) support�N)�urlparse�urllib)�logger)�display_path�
backup_dir�find_command�rmtree�ask_path_exists�vcs�get_src_requirementcs�eZdZiZddddddgZ�fdd�Zd	d
�Zedd��Zed
d��Z	edd��Z
dd�Zdddd�Zdd�Z
dd�Zdd�Z�S)�
VcsSupport�ssh�git�hg�bzr�sftp�svncsRtjj|j�ttdd�r;tjj|j�ntt|�j�dS)N�
uses_fragment)	r�uses_netloc�extend�schemes�getattrr�superr�__init__)�self)�	__class__��+/tmp/pip-ztkk0jow-build/pip/vcs/__init__.pyrszVcsSupport.__init__cCs
|jj�S)N)�	_registry�__iter__)rrrrrszVcsSupport.__iter__cCst|jj��S)N)�listr�values)rrrr�backendsszVcsSupport.backendscCsdd�|jD�S)NcSsg|]}|j�qSr)�dirname)�.0�backendrrr�
<listcomp>$s	z'VcsSupport.dirnames.<locals>.<listcomp>)r")rrrr�dirnames"szVcsSupport.dirnamescCs.g}x!|jD]}|j|j�qW|S)N)r"rr)rrr%rrr�all_schemes&szVcsSupport.all_schemescCsPt|d�s'tjd|j�dS|j|jkrL||j|j<ndS)N�namezCannot register VCS %s)�hasattrr�warn�__name__r)r)r�clsrrr�register-s
zVcsSupport.registerNcCsR||jkr|j|=n2||jj�krA|j|j=n
tjd�dS)Nz0Cannot unregister because no class or name given)rr!r)rr+)rr-r)rrr�
unregister4s

zVcsSupport.unregistercCsOxH|jj�D]7}tjj||j�}tjj|�r|jSqWdS)z�
        Return the name of the version control backend if found at given
        location, e.g. vcs.get_backend_name('/path/to/vcs/checkout')
        N)rr!�os�path�joinr#�existsr))r�location�vc_typer1rrr�get_backend_name<s
zVcsSupport.get_backend_namecCs*|j�}||jkr&|j|SdS)N)�lowerr)rr)rrr�get_backendGszVcsSupport.get_backendcCs&|j|�}|r"|j|�SdS)N)r6r8)rr4r5rrr�get_backend_from_locationLs
z$VcsSupport.get_backend_from_location)r,�
__module__�__qualname__rrrr�propertyr"r'r(r.r/r6r8r9rr)rrrsrcs�eZdZdZdZd�fdd�Zdd�Zdd�Zed	d
��Z	dd�Z
d
d�Zdd�Zdd�Z
dd�Zdd�Zdd�Zdd�Zdd�Zdd�Zdd d!�Z�S)"�VersionControl�Ncs/||_d|_tt|�j||�dS)N)�url�_cmdrr=r)rr?�args�kwargs)rrrrZs		zVersionControl.__init__cCs
tj|fS)N)r�INFO)r�linerrr�_filter_szVersionControl._filtercCs1tjj|�\}}|jtjj�p0|S)z~
           posix absolute paths start with os.path.sep,
           win32 ones ones start with drive (like c:\folder)
        )r0r1�
splitdrive�
startswith�sep)r�repo�drive�tailrrr�_is_local_repositorybsz#VersionControl._is_local_repositorycCsL|jdk	r|jSt|j�}tjd|j|f�||_|S)NzFound command %r at %r)r@rr)r�info)r�commandrrr�cmdjs	zVersionControl.cmdc	Cs�d}d|jks(t||j��|jjdd�d}tj|�\}}}}}d}d|kr�|jdd�\}}ntj||||df�}||fS)zm
        Returns the correct repository URL and revision by parsing the given
        repository URL
        zvSorry, '%s' is a malformed VCS url. The format is <vcs>+<protocol>://<url>, e.g. svn+http://myrepo/svn/MyApp#egg=MyApp�+�N�@r>)r?�AssertionError�splitr�urlsplit�rsplit�
urlunsplit)	r�
error_messager?�scheme�netlocr1�query�frag�revrrr�get_url_revss"zVersionControl.get_url_revcCsH|jd�j|j�s,td|��|j|�|j|�fS)zA
        Returns (url, revision), where both are strings
        �/zBad directory: %s)�rstrip�endswithr#rS�get_url�get_revision)rr4rrr�get_info�s,zVersionControl.get_infocCstj|�jd�S)za
        Normalize a URL for comparison by unquoting it and removing any trailing slash.
        r_)r�unquoter`)rr?rrr�
normalize_url�szVersionControl.normalize_urlcCs|j|�|j|�kS)zV
        Compare two repo URLs for identity, ignoring incidental differences.
        )rf)r�url1�url2rrr�compare_urls�szVersionControl.compare_urlscCs
t�dS)z�
        Takes the contents of the bundled text file that explains how to revert
        the stripped off version control data of the given package and returns
        the URL and revision of it.
        N)�NotImplementedError)r�contentrrr�parse_vcs_bundle_file�sz$VersionControl.parse_vcs_bundle_filecCs
t�dS)zx
        Called when installing or updating an editable package, takes the
        source path of the checkout.
        N)rj)r�destrrr�obtain�szVersionControl.obtaincCs
t�dS)zB
        Switch the repo at ``dest`` to point to ``URL``.
        N)�NotImplemented)rrmr?�rev_optionsrrr�switch�szVersionControl.switchcCs
t�dS)zO
        Update an already-existing repo to the given ``rev_options``.
        N)rj)rrmrprrr�update�szVersionControl.updatec
Cs@d}d}tjj|�r#d}tjjtjj||j��r�|j|�}|j||�r�tjd|j	j
�t|�|f�tjdt|�|j	|f�|j
||�q tjd|j|j	t|�|f�d}q#tjd||j|j	f�d}n|r<tjd
|j|f�td|d|d�}|dkr�tjd|j	t|�||f�|j|||�q<|dkr�q<|d	kr�tjdt|��t|�d}q<|d
kr<t|�}	tjdt|�|	f�tj||	�d}q<n|S)z�
        Prepare a location to receive a checkout/clone.

        Return True if the location is ready for (and requires) a
        checkout/clone, False otherwise.
        TFz)%s in %s exists, and has correct URL (%s)zUpdating %s %s%sz%s %s in %s exists with URL %s�%(s)witch, (i)gnore, (w)ipe, (b)ackup �s�i�w�bz0Directory %s already exists, and is not a %s %s.�(i)gnore, (w)ipe, (b)ackup z+The plan is to install the %s repository %szWhat to do?  %srrQzSwitching %s %s to %s%szDeleting %szBacking up %s to %s�rtrurvrw)rsry�rurvrw)rxrz)r0r1r3r2r#rbrirrM�	repo_name�titler�notifyrrr+r)r	rqrr�shutil�move)
rrmr?rp�rev_display�checkout�prompt�existing_url�response�dest_dirrrr�check_destination�sZ$							
	
		z VersionControl.check_destinationcCs0tjj|�rt|�n|j|�dS)N)r0r1r3rrn)rr4rrr�unpack�s
zVersionControl.unpackFcCs
t�dS)N)rj)r�distr4�	find_tagsrrrr�sz"VersionControl.get_src_requirement)r,r:r;r)r#rrErLr<rOr^rdrfrirlrnrqrrr�r�rrr)rrr=Vs"	:r=cCsFtj|�}|r+|�j|||�Stjd|�|j�S)Nztcannot determine version of editable source in %s (is not SVN checkout, Git clone, Mercurial clone or Bazaar branch))r
r9rrr+�as_requirement)r�r4r��version_controlrrrr�s
)�__doc__r0r~Zpip.backwardcompatrr�pip.logr�pip.utilrrrrr	�__all__�objectrr
r=rrrrr�<module>s(D	�


Current_dir [ 𝗡𝗢𝗧 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
1 May 2025 12.40 PM
root / linksafe
0755
__init__.cpython-34.pyc
9.249 KB
13 Nov 2023 9.20 PM
root / linksafe
0644
bazaar.cpython-34.pyc
4.813 KB
13 Nov 2023 9.20 PM
root / linksafe
0644
git.cpython-34.pyc
6.922 KB
13 Nov 2023 9.20 PM
root / linksafe
0644
mercurial.cpython-34.pyc
5.525 KB
13 Nov 2023 9.20 PM
root / linksafe
0644
subversion.cpython-34.pyc
8.942 KB
13 Nov 2023 9.20 PM
root / linksafe
0644

✘✘ GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME ✘✘
Static GIF Static GIF