code: def filespecs(self):
      
      filespecs = {'globs': self._file_globs}
      exclude_filespecs = self._exclude_filespecs
      if exclude_filespecs:
        filespecs['exclude'] = exclude_filespecs
      return filespecs
docs: Return a filespecs dict representing both globs and excludes.