§ 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.10/venv/lib/python3.11/site-packages/gitdb/db/mem.pyr zMemoryDB.__init__' s: ø€ Ý ‰Œ×ÒÑÔÐÝ Ð!5Ñ6Ô6ˆŒõ ‘f”fˆŒˆˆó c ó — t d¦ « ‚)Nz$MemoryDB's always stream into memory)r )r Ústreams r Úset_ostreamzMemoryDB.set_ostream. s € Ý"Ð#IÑJÔJÐJr c ó~ — t ¦ « }| j |¦ « | j |¦ « }| ¦ « | d¦ « t | ¦ « d¬¦ « }t |j |j |j |¦ « | j |j <