File manager - Edit - /opt/saltstack/salt/lib/python3.10/site-packages/gitdb/__pycache__/base.cpython-310.pyc
Back
o ;jW � @ s� d Z ddlmZ ddlmZmZ dZG dd� de�ZG dd� de�Z G d d � d e �Z G dd� de�ZG d d� de�ZG dd� de �Z G dd� de �ZG dd� de�ZG dd� de�ZG dd� de�ZdS )zPModule with basic data structures - they are designed to be lightweight and fast� �� bin_to_hex)�type_id_to_type_map�type_to_type_id_map) �OInfo� OPackInfo�ODeltaPackInfo�OStream�OPackStream�ODeltaPackStream�IStream�InvalidOInfo�InvalidOStreamc @ sb e Zd ZdZe� Zdd� Zdd� Zedd� �Z edd � �Z ed d� �Zedd � �Zedd� �Z dS )r a� Carries information about an object in an ODB, providing information about the binary sha of the object, the type_string as well as the uncompressed size in bytes. It can be accessed using tuple notation and using attribute access notation:: assert dbi[0] == dbi.binsha assert dbi[1] == dbi.type assert dbi[2] == dbi.size The type is designed to be as lightweight as possible.c C � t �| |||f�S �N��tuple�__new__)�cls�sha�type�size� r �>/opt/saltstack/salt/lib/python3.10/site-packages/gitdb/base.pyr # � z OInfo.__new__c G � t �| � d S r �r �__init__��self�argsr r r r &