code: def removeCurrentItem(self):
          
          logger.debug("removeCurrentFile")
          currentIndex = self.getRowCurrentIndex()
          if not currentIndex.isValid():
              return
  
          self.model().deleteItemAtIndex(currentIndex)
docs: Removes the current item from the repository tree.