(self, targets)
return result
**Command**: Remove directories or files. This method should not be invoked 
        directly, the :meth:`elfinder.connector.ElfinderConnector.execute`
        method must be used.
**Command**: Remove directories or files. This method should not be invoked 
        directly, the :meth:`elfinder.connector.ElfinderConnector.execute`
        method must be used.
** Command ** : Remove directories or files . This method should not be invoked directly the : meth : elfinder . connector . ElfinderConnector . execute method must be used .
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
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