HEX
Server: LiteSpeed
System: Linux atali.colombiahosting.com.co 5.14.0-570.12.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 13 06:11:55 EDT 2025 x86_64
User: coopserp (1713)
PHP: 8.2.29
Disabled: dl,exec,passthru,proc_open,proc_close,shell_exec,memory_limit,system,popen,curl_multi_exec,show_source,symlink,link,leak,listen,diskfreespace,tmpfile,ignore_user_abord,highlight_file,source,show_source,fpaththru,virtual,posix_ctermid,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix,posix_getppid,posix_getpwnam,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_isatty,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setid,posix_times,posix_ttyname,posix_uname,proc_get_status,proc_nice,proc_terminate
Upload Files
File: //opt/cloudlinux/venv/lib64/python3.11/site-packages/gitdb/db/__pycache__/git.cpython-311.pyc
�

���<Ie��v�ddlmZmZmZddlmZddlmZddlm	Z	ddl
mZddlZdZ
Gd�d	eee��ZdS)
�)�
CompoundDB�	ObjectDBW�
FileDBBase)�
LooseObjectDB)�PackedDB)�ReferenceDB)�
InvalidDBRootN)�GitDBc���eZdZdZeZeZeZ	dZ
dZej
�dd��Z�fd�Z�fd�Zd�Zd	�Zd
�Z�xZS)r
aA git-style object database, which contains all objects in the 'objects'
    subdirectory

    ``IMPORTANT``: The usage of this implementation is highly discouraged as it fails to release file-handles.
    This can be a problem with long-running processes and/or big repositories.
    �pack��info�
alternatesc�J��t���|��dS)z/Initialize ourselves on a git objects directoryN)�super�__init__)�self�	root_path�	__class__s  ��]/builddir/build/BUILD/cloudlinux-venv-1.0.8/venv/lib/python3.11/site-packages/gitdb/db/git.pyrzGitDB.__init__(s!���
������#�#�#�#�#�c�^��|dks|dkr�t��|_d}|j|jf|j|jf|j|jffD]r\}}|�|��}tj
�|��r9|j�||����||jur
|jd}�s|js!t|������|�t|d��s
Jd���||_dSt#���|��dS)N�_dbs�	_loose_db����storez(First database needs store functionality)�listr�	packs_dir�	PackDBCls�	loose_dir�
LooseDBCls�alternates_dir�ReferenceDBCls�db_path�os�path�exists�appendr	r�hasattrrr�_set_cache_)r�attr�loose_db�subpath�dbclsr&rs      �rr*zGitDB._set_cache_,s7����6�>�>�T�[�0�0����D�I��H�$(�N�D�N�#C�$(�N�D�O�#D�$(�$7��9L�#M�#O�
1�
1�����|�|�G�,�,���7�>�>�$�'�'�1��I�$�$�U�U�4�[�[�1�1�1����/�/�#'�9�R�=����9�
6�#�D�N�N�$4�$4�5�5�5��'�G�H�g�,F�,F�'�'�Hr�'�'�F�&�D�N�N�N��G�G����%�%�%�%�%rc�6�|j�|��S�N)rr)r�istreams  rrzGitDB.storeLs���~�#�#�G�,�,�,rc�4�|j���Sr0)r�ostream)rs rr3z
GitDB.ostreamOs���~�%�%�'�'�'rc�6�|j�|��Sr0)r�set_ostream)rr3s  rr5zGitDB.set_ostreamRs���~�)�)�'�2�2�2r)�__name__�
__module__�__qualname__�__doc__rrrr!rr#rr r%r&�joinr"rr*rr3r5�
__classcell__)rs@rr
r
s�����������I��J� �N��I��I��W�\�\�&�,�7�7�N�$�$�$�$�$�&�&�&�&�&�@-�-�-�(�(�(�3�3�3�3�3�3�3rr
)�
gitdb.db.baserrr�gitdb.db.looser�
gitdb.db.packr�gitdb.db.refr�	gitdb.excr	r%�__all__r
�rr�<module>rCs���
����������)�(�(�(�(�(�"�"�"�"�"�"�$�$�$�$�$�$�#�#�#�#�#�#�	�	�	�	�
��=3�=3�=3�=3�=3�J�	�:�=3�=3�=3�=3�=3r