parameters: (self, targets)
return_statement: return result
docstring: **Command**: Remove directories or files. This method should not be invoked 
          directly, the :meth:`elfinder.connector.ElfinderConnector.execute`
          method must be used.
docstring_summary: **Command**: Remove directories or files. This method should not be invoked 
          directly, the :meth:`elfinder.connector.ElfinderConnector.execute`
          method must be used.
docstring_tokens: ** Command ** : Remove directories or files . This method should not be invoked directly the : meth : elfinder . connector . ElfinderConnector . execute method must be used .
function: def _rm(self, targets):
          """
          **Command**: Remove directories or files. This method should not be invoked 
          directly, the :meth:`elfinder.connector.ElfinderConnector.execute`
          method must be used.
          """
          result  = {'removed' : []}
  
          for target in targets:
              try:
                  volume = self._volume(target)
              except VolumeNotFoundError:
                  result['warning'] = self.error(ElfinderErrorMessages.ERROR_RM, '#%s' % target, ElfinderErrorMessages.ERROR_FILE_NOT_FOUND)
                  continue
  
              try:
                  volume.rm(target)
              except NamedError as e:
                  result['warning'] = self.error(e, e.name)
              except Exception as e:
                  result['warning'] = self.error(e)
  
          return result
function_tokens: def _rm ( self , targets ) : result = { 'removed' : [ ] } for target in targets : try : volume = self . _volume ( target ) except VolumeNotFoundError : result [ 'warning' ] = self . error ( ElfinderErrorMessages . ERROR_RM , '#%s' % target , ElfinderErrorMessages . ERROR_FILE_NOT_FOUND ) continue try : volume . rm ( target ) except NamedError as e : result [ 'warning' ] = self . error ( e , e . name ) except Exception as e : result [ 'warning' ] = self . error ( e ) return result