parameters: (self, filter_func=lambda f: True)
docstring: Delete all files in workflow's :attr:`cachedir`.
  
          :param filter_func: Callable to determine whether a file should be
              deleted or not. ``filter_func`` is called with the filename
              of each file in the data directory. If it returns ``True``,
              the file will be deleted.
              By default, *all* files will be deleted.
          :type filter_func: ``callable``
docstring_summary: Delete all files in workflow's :attr:`cachedir`.
docstring_tokens: Delete all files in workflow s : attr : cachedir .
function: def clear_cache(self, filter_func=lambda f: True):
          """Delete all files in workflow's :attr:`cachedir`.
  
          :param filter_func: Callable to determine whether a file should be
              deleted or not. ``filter_func`` is called with the filename
              of each file in the data directory. If it returns ``True``,
              the file will be deleted.
              By default, *all* files will be deleted.
          :type filter_func: ``callable``
          """
          self._delete_directory_contents(self.cachedir, filter_func)
function_tokens: def clear_cache ( self , filter_func = lambda f : True ) : self . _delete_directory_contents ( self . cachedir , filter_func )