. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
| Server IP : 162.0.212.4 / Your IP :
216.73.216.221 [
Web Server : LiteSpeed System : Linux premium146.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : alshnoli ( 2431) PHP Version : 8.3.28 Disable Function : NONE Domains : 1 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/cloudlinux/venv/lib64/python3.11/site-packages/git/objects/__pycache__/ |
Upload File : |
�
� h�! � �� � d Z ddlmZ ddlmZmZ ddlmZmZm Z m
Z
mZmZm
Z
mZ erddlmZ ddlmZ eeeef Ze
edf ZdZd e
e d
edge
edf f ddfd
�Zdedee fd�Zde e dedededef
d�Zedddeddfd�� � Zedededefd�� � Zdededefd�Zddde
e
edf dedeeedf fd�Zdddededee fd �ZdS )!zBModule with functions which are supposed to be as fast as possible� )�S_ISDIR)�safe_decode�defenc)�Callable�List�MutableSequence�Sequence�Tuple�
TYPE_CHECKING�Union�overload)�ReadableBuffer)�GitCmdObjectDBN)�tree_to_stream�tree_entries_from_data�traverse_trees_recursive�traverse_tree_recursive�entries�writer �returnc
�v � t d� � }d}| D ]�\ }}}d}t d� � D ]!}t ||dz z |z |z g� � |z }�"|d |k r
|dd� }t |t � � r|� t � � } n|} |d� |d | d
|f� � � � ��dS )z�Write the give list of entries into a stream using its write method
:param entries: **sorted** list of tuples with (binsha, mode, name)
:param write: write method which takes a data string�0� � � � r � N� � )�ord�range�bytes�
isinstance�str�encoder �join)
r r �ord_zero�bit_mask�binsha�mode�name�mode_str�i�
name_bytess
�`/builddir/build/BUILD/cloudlinux-venv-1.0.8/venv/lib/python3.11/site-packages/git/objects/fun.pyr r &