def _unwatch_file(self, filepath, trigger_event=True):
        """
        Removes the file from the internal watchlist if exists.
        """
        if filepath not in self._watched_files:
            return
        if trigger_event:
            self.trigger_deleted(filepath)
        del self._watched_files[filepath]
def _unwatch_file ( self , filepath , trigger_event = True ) : if filepath not in self . _watched_files : return if trigger_event : self . trigger_deleted ( filepath ) del self . _watched_files [ filepath ]
Removes the file from the internal watchlist if exists.