Show More
@@ -714,6 +714,10 b' class basefilectx(object):' | |||||
714 | return util.binary(self.data()) |
|
714 | return util.binary(self.data()) | |
715 | except IOError: |
|
715 | except IOError: | |
716 | return False |
|
716 | return False | |
|
717 | def isexec(self): | |||
|
718 | return 'x' in self.flags() | |||
|
719 | def islink(self): | |||
|
720 | return 'l' in self.flags() | |||
717 |
|
721 | |||
718 | def cmp(self, fctx): |
|
722 | def cmp(self, fctx): | |
719 | """compare with other file context |
|
723 | """compare with other file context | |
@@ -1656,9 +1660,5 b' class memfilectx(committablefilectx):' | |||||
1656 | return len(self.data()) |
|
1660 | return len(self.data()) | |
1657 | def flags(self): |
|
1661 | def flags(self): | |
1658 | return self._flags |
|
1662 | return self._flags | |
1659 | def isexec(self): |
|
|||
1660 | return 'x' in self._flags |
|
|||
1661 | def islink(self): |
|
|||
1662 | return 'l' in self._flags |
|
|||
1663 | def renamed(self): |
|
1663 | def renamed(self): | |
1664 | return self._copied |
|
1664 | return self._copied |
General Comments 0
You need to be logged in to leave comments.
Login now