$46 GRAYBYTE WORDPRESS FILE MANAGER $80

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.157
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/cli/

HOME
Current File : /opt/alt/python27/lib/python2.7/site-packages/pip/_internal/cli//autocompletion.pyc
�
�Rec@s�dZddlZddlZddlZddlmZddlmZddlm	Z	m
Z
ddlmZddl
mZer�ddlmZmZmZmZnd	�Zd
�Zd�ZdS(sBLogic that powers autocompletion installed by ``pip completion``.
i����N(tchain(tcreate_main_parser(t
commands_dicttcreate_command(tget_installed_distributions(tMYPY_CHECK_RUNNING(tAnytIterabletListtOptionalcCs%dtjkrdStjdj�d}ttjd�}y||d}Wntk
rhd}nXt�}tt�}g}d}x$|D]}||kr�|}Pq�q�W|dk	r*|dkr�t	j
d�n|dko�|jd
�}|r�g}	|j�}
xOt
dt�D]>}|jj|
�r|j|dkr|	j|j�qqW|	r�x|	D]}|GHqlWt	j
d�q�nt|�}xZ|jjD]L}
|
jtjkr�x1|
j|
jD]}|j||
jf�q�Wq�q�Wg|d|d!D]}|jd�d
^q	}g|D]$\}}||kr/||f^q/}g|D]'\}}|j|�r`||f^q`}t|||jj�}|r�t||�}g|D]}|d
f^q�}nx5|D]@}|d
}|dr|d
d dkr|d7}n|GHq�Wn�g|jD]}|j^q4}|j|j�tj|�}|jd
�r�xj|D]/}
|
jtjkr~||
j|
j7}q~q~Wn0t|||�}|r�tt||��}ndj g|D]}|j|�r�|^q��GHt	j
d�dS(s?Entry Point for completion of main and subcommand options.
    tPIP_AUTO_COMPLETENt
COMP_WORDSit
COMP_CWORDtthelptshowt	uninstallt-t
local_onlyt=iis--t (RR(!tostenvirontsplittintt
IndexErrorRtlistRtNonetsystexitt
startswithtlowerRtTruetkeytappendRtparsertoption_list_allRtoptparset
SUPPRESS_HELPt
_long_optst_short_optstnargstget_path_completion_typetauto_complete_pathst
option_groupstoption_listRt
from_iterabletjoin(tcwordstcwordtcurrentR#tsubcommandstoptionstsubcommand_nametwordtshould_list_installedt	installedtlctdistt
subcommandtopttopt_strtxt	prev_optstvtktcompletion_typetpathstpathtoptiont	opt_labeltitoptstflattened_opts((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/cli/autocompletion.pytautocompletes~

	
%
	!114"



			0cCs�|dks$||djd�r(dSx�|D]�}|jtjkrMq/nxtt|�jd�D]]}||djd�d|krc|js�td�|jjd�D��r�|jSqcqcWq/WdS(sLGet the type of path completion (``file``, ``dir``, ``path`` or None)

    :param cwords: same as the environmental variable ``COMP_WORDS``
    :param cword: same as the environmental variable ``COMP_CWORD``
    :param opts: The available options to check
    :return: path completion type (``file``, ``dir``, ``path`` or None)
    iRt/Ricss|]}|dkVqdS(RDtfiletdirN(RDRLRM((t.0R>((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/cli/autocompletion.pys	<genexpr>�sN(	RRRR%R&tstrRtmetavartany(R0R1RHR<to((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/cli/autocompletion.pyR*qs	$
!
c#stjj|�\}�tjj|�}tj|tj�sCdStjj����fd�tj|�D�}x�|D]�}tjj||�}tjjtjj||��}|dkr�tjj	|�r�|Vq{tjj
|�r{tjj|d�Vq{q{WdS(soIf ``completion_type`` is ``file`` or ``path``, list all regular files
    and directories starting with ``current``; otherwise only list directories
    starting with ``current``.

    :param current: The word to be completed
    :param completion_type: path completion type(`file`, `path` or `dir`)i
    :return: A generator of regular files and/or directories
    Nc3s0|]&}tjj|�j��r|VqdS(N(RRDtnormcaseR(RNR>(tfilename(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/cli/autocompletion.pys	<genexpr>�sRMR
(RRDRtabspathtaccesstR_OKRStlistdirR/tisfiletisdir(R2RBt	directorytcurrent_patht	file_listtfR<t	comp_file((RTs�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/cli/autocompletion.pyR+�s

!(t__doc__R%RRt	itertoolsRtpip._internal.cli.main_parserRtpip._internal.commandsRRtpip._internal.utils.miscRtpip._internal.utils.typingRttypingRRRR	RJR*R+(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/cli/autocompletion.pyt<module>s%	_	


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 10.49 PM
root / linksafe
0755
__init__.py
0.129 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
__init__.pyc
0.311 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
autocompletion.py
6.394 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
autocompletion.pyc
5.739 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
base_command.py
9.084 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
base_command.pyc
8.42 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
cmdoptions.py
28.107 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
cmdoptions.pyc
26.807 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
command_context.py
0.952 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
command_context.pyc
1.944 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
main.py
2.555 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
main.pyc
1.842 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
main_parser.py
2.776 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
main_parser.pyc
2.814 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
parser.py
9.258 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
parser.pyc
11.892 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
progress_bars.py
8.907 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
progress_bars.pyc
11.746 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
req_command.py
14.777 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
req_command.pyc
13.044 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
spinners.py
5.38 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
spinners.pyc
7.479 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
status_codes.py
0.152 KB
13 Nov 2023 9.11 PM
root / linksafe
0644
status_codes.pyc
0.471 KB
13 Nov 2023 9.11 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF