Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
_git.cpython-313.pyc18 linesDownload Raw Back to __pycache__
1�

2��jy����SrSSKrSSKrSSKrSSKJrJrJr SSKJ	r	 \R"\5r\"S5r
S\\S\\4Sjr"S	S3\	SS9r\R""S
S9SS\S\4Sjj5rg)z-Fetch information about any current git repo.�N)�List�Optional�TypeVar)�	TypedDict�T�command�returnc��[R"S/U-S[RS9R5$![a gf=f)N�gitzutf-8)�encoding�stderr)�4subprocess�check_output�DEVNULL�strip�
BaseException)rs �XD:\code\apps\devtools\python\user_packages\Python313\site-packages\langsmith/env/_git.py�exec_gitrsI����&�&�
�G�g���5�8J�8J�6�7�%�'�	������s�58�8A�Ac��\rSrSr%\\\S'\\\S'\\\S'\\\S'\\\S'\\\S'\\\S'\\\S	'\\\S9'Srg)
�GitInfo��	repo_name�10remote_url�commit�branch�author_name�author_email�commit_time�dirty�tags�N)	�__name__�11__module__�__qualname__�__firstlineno__r�str�__annotations__�bool�__static_attributes__r!�rrrs\����}����
���S�M���S�M���#����3�-���#����D�>��12�3�-�r*rF)�total�)�maxsize�remotec�d�[SS/5(d[SSSSSSSSSS9	$[SSU/5[SS/5[/SQ5[/S	Q5[/S13Q5[SS/5S
:g[/SQ5[/SQ5[SS/5=(d S
RS5SS.	$)z)Get information about the git repository.�	rev-parsez--is-inside-work-treeN)	rrrrrrrr rr.zget-url�HEAD)�log�-1z--format=%ct)r0z--abbrev-refr1)�describez--tagsz
--exact-matchz--alwaysz--dirty�statusz--porcelain�)r2r3z--format=%an)r2r3z--format=%aez--show-toplevel�/�����)	rrrrr rrrr)rr�split)r.s r�get_git_infor:$s����[�"9�:�;�;�����������1415�16	17���)�V�<�=��K��0�1�� =�>��@�A��J�18��8�]�3�4��:�� =�>� �!>�?���->�?�@�F�B�M�M�c�R�SU�V��r*)�origin)�__doc__�	functools�loggingr�typingrrr�typing_extensionsr�	getLoggerr"�loggerrr&rr�	lru_cacher:r!r*r�<module>rDs���3����*�*�'�	�	�	�8�	$���C�L���d�3�i��H�S�M��	�i�u�	����Q�����G�� �r*