/* * CDDL HEADER START * * The contents of this file are subject to the terms of the * Common Development and Distribution License (the "License"). * You may not use this file except in compliance with the License. * * See LICENSE.txt included in this distribution for the specific * language governing permissions and limitations under the License. * * When distributing Covered Code, include this CDDL HEADER in each * file and include the License file at LICENSE.txt. * If applicable, add the following below this CDDL HEADER, with the * fields enclosed by brackets "[]" replaced with your own identifying * information: Portions Copyright [yyyy] [name of copyright owner] * * CDDL HEADER END */ /* * Copyright (c) 2007, 2012, Oracle and/or its affiliates. All rights reserved. */ package org.opensolaris.opengrok.index; /** * 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 opengrok should ignore. * * @author Chandan */ @SuppressWarnings("serial") public final class IgnoredNames extends Filter { private static final String[] defaultPatterns = { "SCCS", "CVS", "RCS", "cscope.in.out", "cscope.out.po", "cscope.out.in", "cscope.po.out", "cscope.po.in", "cscope.files", "cscope.out", "Codemgr_wsdata", ".cvsignore", "CVSROOT", // tags are leftover from the time when ctags did not run daemonized // "TAGS", // "tags", ".svn", ".git", ".repo", ".hg", ".hgtags", ".bzr", ".p4config", ".razor", "*~", "deleted_files", ".make.*", ".del-*", "_MTN", // File Extensions for Visual Studio and Mono Projects ".vspscc", ".suo", ".vssscc", ".user", ".ncb", ".gpState", ".snc", ".sln", ".vsmdi", ".dll", // misc ".DS_Store", ".com.apple.timemachine.supported", }; /** * Create a new instance with default patterns. */ public IgnoredNames() { super(defaultPatterns); } }