equal
deleted
inserted
replaced
433 def added(self): |
433 def added(self): |
434 """True if the file has been added""" |
434 """True if the file has been added""" |
435 return self._wc_tracked and not (self._p1_tracked or self._p2_info) |
435 return self._wc_tracked and not (self._p1_tracked or self._p2_info) |
436 |
436 |
437 @property |
437 @property |
|
438 def modified(self): |
|
439 """True if the file has been modified""" |
|
440 return self._wc_tracked and self._p1_tracked and self._p2_info |
|
441 |
|
442 @property |
438 def maybe_clean(self): |
443 def maybe_clean(self): |
439 """True if the file has a chance to be in the "clean" state""" |
444 """True if the file has a chance to be in the "clean" state""" |
440 if not self._wc_tracked: |
445 if not self._wc_tracked: |
441 return False |
446 return False |
442 elif not self._p1_tracked: |
447 elif not self._p1_tracked: |