ok
Direktori : /opt/cloudlinux/venv/lib/python3.11/site-packages/gitdb/db/__pycache__/ |
Current File : //opt/cloudlinux/venv/lib/python3.11/site-packages/gitdb/db/__pycache__/base.cpython-311.pyc |
� �܋fk# � �� � d Z ddlmZmZmZ ddlmZ ddlmZm Z ddl mZ ddlm Z dZ G d� d � � Z G d � d� � Z G d� d � � Z G d� d� � Zd� Z G d� deee� � ZdS )z8Contains implementations of database retrieveing objects� )�join� LazyMixin� hex_to_bin)� force_text)� BadObject�AmbiguousObjectName)�chain)�reduce)� ObjectDBR� ObjectDBW� FileDBBase� CompoundDB� CachingDBc �6 � e Zd ZdZd� Zd� Zd� Zd� Zd� Zd� Z dS ) r zkDefines an interface for object database lookup. Objects are identified either by their 20 byte bin shac � � | j S �N)�has_obj��self�shas �^/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/gitdb/db/base.py�__contains__zObjectDBR.__contains__ s � ��|�� c � � t d� � �)z� Whether the object identified by the given 20 bytes binary sha is contained in the database :return: True if the object identified by the given 20 bytes binary sha is contained in the database�To be implemented in subclass��NotImplementedErrorr s r � has_objectzObjectDBR.has_object"