File: //kunden/lib/python3/dist-packages/breezy/__pycache__/delta.cpython-39.pyc
a
�*�^G � @ st d dl mZ d dlmZmZ ddlmZ ddlmZ G dd� de �Z
dd
d�ZG dd
� d
e �Zdd� Z
ddd�ZdS )� )�absolute_import)�osutils�trace� )�StringIO)�
TreeChangec @ sB e Zd ZdZdd� Zdd� Zdd� Zdd � Zd
d� Zdd
d�Z dS )� TreeDeltaa� Describes changes from one tree to another.
Contains seven lists with TreeChange objects.
added
removed
renamed
copied
kind_changed
modified
unchanged
unversioned
Each id is listed only once.
Files that are both modified and renamed or copied are listed only in
renamed or copied, with the text_modified flag true. The text_modified
applies either to the content of the file or the target of the
symbolic link, depending of the kind of file.
Files are only considered renamed if their name has changed or
their parent directory has changed. Renaming a directory
does not count as renaming all its contents.
The lists are normally sorted when the delta is created.
c C s: g | _ g | _g | _g | _g | _g | _g | _g | _g | _d S �N) �added�removed�renamed�copied�kind_changed�modified� unchanged�unversioned�missing��self� r �./usr/lib/python3/dist-packages/breezy/delta.py�__init__9 s zTreeDelta.__init__c C sn t |t�sdS | j|jkol| j|jkol| j|jkol| j|jkol| j|jkol| j|jkol| j|jkol| j |j kS )NF)
�
isinstancer r
r r r
r r r r �r �otherr r r �__eq__D s"