docs: def add_ignore_patterns(self, *patterns):
          """
          Adds an ignore pattern to the list for ignore patterns.
  
          Ignore patterns are used to filter out unwanted files or directories
          from the file system model.
  
          A pattern is a Unix shell-style wildcards. See :mod:`fnmatch` for a
          deeper explanation about the shell-style wildcards.
          """
          for ptrn in patterns:
              if isinstance(ptrn, list):
                  for p in ptrn:
                      self._ignored_patterns.append(p)
              else:
                  self._ignored_patterns.append(ptrn)