equal
deleted
inserted
replaced
83 XXX This "state" is a bit obscure and mostly a direct expression of the |
83 XXX This "state" is a bit obscure and mostly a direct expression of the |
84 dirstatev1 format. It would make sense to ultimately deprecate it in |
84 dirstatev1 format. It would make sense to ultimately deprecate it in |
85 favor of the more "semantic" attributes. |
85 favor of the more "semantic" attributes. |
86 """ |
86 """ |
87 return self._state |
87 return self._state |
|
88 |
|
89 @property |
|
90 def added(self): |
|
91 """True if the file has been added""" |
|
92 return self._state == b'a' |
88 |
93 |
89 @property |
94 @property |
90 def merged(self): |
95 def merged(self): |
91 """True if the file has been merged |
96 """True if the file has been merged |
92 |
97 |