docs: def readdir(self, tid, fh):
  
          """
          Read directory contents. Lists visible elements of ``YTActions`` object.
  
          Parameters
          ----------
          tid : str
              Path to file. Original `path` argument is converted to tuple identifier by ``_pathdec`` decorator.
          fh : int
              File descriptor. Ommited in the function body.
  
          Returns
          -------
          list
              List of filenames, wich will be shown as directory content.
          """
  
          ret = []
          pt = self.PathType.get(tid)
          try:
              if pt is self.PathType.main:
                  ret = list(self.searches)
  
              elif pt is self.PathType.subdir:
                  ret = list(self.searches[tid[0]])
  
              elif pt is self.PathType.file:
                  raise FuseOSError(errno.ENOTDIR)
  
              else:
                  raise FuseOSError(errno.ENOENT)
  
          except KeyError:
              raise FuseOSError(errno.ENOENT)
  
          return ['.', '..'] + ret