105
105
def rename_one(self, from_rel, to_rel):
106
106
file_id = self.path2id(from_rel)
107
107
to_dir, to_tail = os.path.split(to_rel)
109
109
self._file_transport.move(from_rel, to_rel)
110
110
self._inventory.rename(file_id, to_parent_id, to_tail)