parameters: (self)
docstring: Remove temporary save dir: rollback will no longer be possible.
docstring_summary: Remove temporary save dir: rollback will no longer be possible.
docstring_tokens: Remove temporary save dir : rollback will no longer be possible .
function: def commit(self):
          """Remove temporary save dir: rollback will no longer be possible."""
          if self.save_dir is not None:
              rmtree(self.save_dir)
              self.save_dir = None
              self._moved_paths = []
function_tokens: def commit ( self ) : if self . save_dir is not None : rmtree ( self . save_dir ) self . save_dir = None self . _moved_paths = [ ]