o
     À{g¿  ã                   @   s`   d gZ ddlmZ ddlZejdkrddlmZ nddlmZ ddlm	Z	 G dd „ d e	j
ƒZdS )	ÚBlobé    )Ú
guess_typeN)é   é   )ÚLiteralé   )Úbasec                   @   sH   e Zd ZU dZdZdZed ed< dZdZ	dZ
dZed	efd
d„ƒZdS )r   z’A Blob encapsulates a git blob object.

    See :manpage:`gitglossary(7)` on "blob":
    https://git-scm.com/docs/gitglossary#def_blob_object
    z
text/plainÚblobÚtypeií  i¤  i    © Úreturnc                 C   s*   d}| j rtt| j ƒƒ}|r|d p| jS )zË
        :return:
            String describing the mime type of this file (based on the filename)

        :note:
            Defaults to ``text/plain`` in case the actual file type is unknown.
        Nr   )Úpathr   ÚstrÚDEFAULT_MIME_TYPE)ÚselfÚguessesr   r   úm/var/www/bot.gig.net.ua/public_html/telegram/P1/HellBot/venv/lib/python3.10/site-packages/git/objects/blob.pyÚ	mime_type$   s   	zBlob.mime_typeN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r
   r   Ú__annotations__Úexecutable_modeÚ	file_modeÚ	link_modeÚ	__slots__Úpropertyr   r   r   r   r   r   r      s   
 )Ú__all__Ú	mimetypesr   ÚsysÚversion_infoÚtypingr   Útyping_extensionsÚ r   ÚIndexObjectr   r   r   r   r   Ú<module>   s   
