def _commit(self): """Sync the temporary directory to the final path. """ dir_util.copy_tree(self.path, self._final_path)