Class IgnoredFiles

java.lang.Object
org.opengrok.indexer.configuration.Filter
org.opengrok.indexer.configuration.IgnoredFiles
All Implemented Interfaces:
Serializable

public final class IgnoredFiles extends Filter
This class maintains a list of file names (like "cscope.out"), SRC_ROOT relative file paths (like "usr/src/uts" or "usr/src/Makefile"), and glob patterns (like .make.*) which should be ignored.
Author:
Chandan
See Also:
  • Constructor Details

    • IgnoredFiles

      public IgnoredFiles()
  • Method Details

    • match

      public boolean match(File file)
      Should the file be ignored or not?
      Overrides:
      match in class Filter
      Parameters:
      file - file object to check
      Returns:
      true if file has == true and should be ignored per filtering