
    .Ph                         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 e	j
                  ZdS )	Blob    )
guess_typeN)      )Literal   )basec                   ^    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
            ZdS )r   zA 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                 x    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guessess     P/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/git/objects/blob.py	mime_typezBlob.mime_type$   s?     9 	1 TY00G%71:?)??    N)__name__
__module____qualname____doc__r   r   r   __annotations__executable_mode	file_mode	link_mode	__slots__propertyr   r   r   r   r   r   r      s~           %"D'&/""" OIII@3 @ @ @ X@ @ @r   )__all__	mimetypesr   sysversion_infotypingr   typing_extensions r	   IndexObjectr   r   r   r   <module>r*      s    (             



v))))))      @ @ @ @ @4 @ @ @ @ @r   