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 tracked(self): |
|
91 """True is the file is tracked in the working copy""" |
|
92 return self._state in b"nma" |
88 |
93 |
89 @property |
94 @property |
90 def added(self): |
95 def added(self): |
91 """True if the file has been added""" |
96 """True if the file has been added""" |
92 return self._state == b'a' |
97 return self._state == b'a' |