Server IP : 192.158.238.246 / Your IP : 18.191.89.16 Web Server : LiteSpeed System : Linux uniform.iwebfusion.net 4.18.0-553.27.1.lve.1.el8.x86_64 #1 SMP Wed Nov 20 15:58:00 UTC 2024 x86_64 User : jenniferflocom ( 1321) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/cloudlinux/venv/lib64/python3.11/site-packages/gitdb/db/__pycache__/ |
Upload File : |
� ��bg � � � d Z ddlmZ ddlmZmZ ddlmZmZ ddl m Z mZ ddlm Z mZ ddlmZ dZ G d � d ee� � ZdS )z*Contains the MemoryDatabase implementation� )� LooseObjectDB)� ObjectDBR� ObjectDBW)�OStream�IStream)� BadObject�UnsupportedOperation)�ZippedStoreShaWriter�DecompressMemMapReader)�BytesIO)�MemoryDBc �R � � e Zd ZdZ� fd�Zd� Zd� Zd� Zd� Zd� Z d� Z d � Zd � Z� xZ S )r a/ A memory database stores everything to memory, providing fast IO and object retrieval. It should be used to buffer results and obtain SHAs before writing it to the actual physical storage, as it allows to query whether object already exists in the target storage before introducing actual IOc � �� t � � � � � t d� � | _ t � � | _ d S )Nzpath/doesnt/matter)�super�__init__r �_db�dict�_cache)�self� __class__s ��]/builddir/build/BUILD/cloudlinux-venv-1.0.7/venv/lib/python3.11/site-packages/gitdb/db/mem.pyr zMemoryDB.__init__'