equal
deleted
inserted
replaced
760 if write_key: |
760 if write_key: |
761 # we update the key-file after writing to make sure reader have a |
761 # we update the key-file after writing to make sure reader have a |
762 # key that match the newly written content |
762 # key that match the newly written content |
763 with file(self._filename_tk) as f: |
763 with file(self._filename_tk) as f: |
764 self._write_tracked_key(tr, f) |
764 self._write_tracked_key(tr, f) |
|
765 |
|
766 def delete_tracked_key(self): |
|
767 """remove the tracked_key file |
|
768 |
|
769 To be used by format downgrades operation""" |
|
770 self._opener.unlink(self._filename_tk) |
|
771 self._use_tracked_key = False |
765 |
772 |
766 def addparentchangecallback(self, category, callback): |
773 def addparentchangecallback(self, category, callback): |
767 """add a callback to be called when the wd parents are changed |
774 """add a callback to be called when the wd parents are changed |
768 |
775 |
769 Callback will be called with the following arguments: |
776 Callback will be called with the following arguments: |