Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/pygit2/__pycache__/submodule.cpython-39.pyc
Ðазад
a n�hK � @ s: d dl mZ d dlmZ d dlmZmZ G dd� d�ZdS )� )�Oid)�check_error)�ffi�Cc @ sd e Zd Zedd� �Zdd� Zdd� Zedd� �Zed d � �Z edd� �Z ed d� �Zedd� �ZdS )� Submodulec C s | � | �}||_||_|S �N)�__new__�_repo�_subm)�cls�repoZcptrZsubm� r ��/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/pygit2/submodule.py�_from_c! s zSubmodule._from_cc C s t �| j� d S r )r Zgit_submodule_freer )�selfr r r �__del__* s zSubmodule.__del__c C s2 t �d�}t�|| j�}t|� | j�|d d�S )z$Open the repository for a submodule.zgit_repository **� T)r �newr Zgit_submodule_openr r r r )r Zcrepo�errr r r �open- s zSubmodule.openc C s t �| j�}t�|��d�S )zName of the submodule.�utf-8)r Zgit_submodule_namer r �string�decode)r �namer r r r 5 s zSubmodule.namec C s t �| j�}t�|��d�S )zPath of the submodule.r )r Zgit_submodule_pathr r r r )r �pathr r r r ; s zSubmodule.pathc C s t �| j�}t�|��d�S )zURL of the submodule.r )r Zgit_submodule_urlr r r r )r �urlr r r r A s z Submodule.urlc C s t �| j�}t�|��d�S )z.Branch that is to be tracked by the submodule.r )r Zgit_submodule_branchr r r r )r �branchr r r r G s zSubmodule.branchc C s( t �| j�}ttt�|�dd� �d�S )zHead of the submodule.N)�raw)r Zgit_submodule_head_idr r �bytesr �buffer)r �headr r r �head_idM s zSubmodule.head_idN) �__name__� __module__�__qualname__�classmethodr r r �propertyr r r r r! r r r r r s r N)Z_pygit2r �errorsr r r r r r r r �<module> s
| ver. 1.1 | |
.
| PHP 8.3.30 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка