(~< d dl mZ d dlmZmZmZmZ d dlmZ d dl mZ ddl mZ d dlmZmZmZ d dlmZmZmZ er$d dlmZ d d lmZ dd lmZ ddlmZ ddlm Z d d l!m"Z" ed Z#dZ$dZ% G d de Z& G d de& Z'dS ) )WorkTreeRepositoryUnsupported) LazyMixinjoin_path_nativestream_copy bin_to_hexN )get_object_type_by_name)Any TYPE_CHECKINGUnion)PathLike Commit_ishLit_commit_ish)Repo)OStream)Tree)Blob) Submodule) Reference)r r r zSCreated object %r whose python type %r disagrees with the actual git object type %r)ObjectIndexObjectc x e Zd ZU dZdZdZej ej ej ej fZdZdZ eedf ed<