Uname : Linux serv1.rebootns.com 5.14.0-570.62.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Nov 11 10:10:59 EST 2025 x86_64
Soft : LiteSpeed
Ip : 139.99.125.122
Port : 443
~
/
opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
gitdb
/
db
/
__pycache__
[ HOME ]
Exec
Submit
File Name : mem.cpython-311.pyc
� Z�<�d�o� � � 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.8/venv/lib/python3.11/site-packages/gitdb/db/mem.pyr zMemoryDB.__init__'