41 | 41 |
* <li>SurroundSCM: **/.MySCMServerInfo</li>
|
42 | 42 |
* <li>Mac: **/.DS_Store</li>
|
43 | 43 |
* <li>Serena Dimension: **/.metadata, **/.metadata/**</li>
|
44 | |
* <li>Mercurial: **/.hg, **/.hg/**, **/.hgignore</li>
|
45 | |
* <li>GIT: **/.git, **/.gitignore, **/.gitattributes, **/.git/**</li>
|
|
44 |
* <li>Mercurial: **/.hg, **/.hg/**</li>
|
|
45 |
* <li>Git: **/.git, **/.git/**</li>
|
46 | 46 |
* <li>Bitkeeper: **/BitKeeper, **/BitKeeper/**, **/ChangeSet,
|
47 | 47 |
* **/ChangeSet/**</li>
|
48 | 48 |
* <li>Darcs: **/_darcs, **/_darcs/**, **/.darcsrepo,
|
|
89 | 89 |
"**/.metadata", "**/.metadata/**",
|
90 | 90 |
|
91 | 91 |
// Mercurial
|
92 | |
"**/.hg", "**/.hgignore", "**/.hg/**",
|
|
92 |
"**/.hg", "**/.hg/**",
|
93 | 93 |
|
94 | 94 |
// git
|
95 | |
"**/.git", "**/.gitignore", "**/.gitattributes", "**/.git/**",
|
|
95 |
"**/.git", "**/.git/**",
|
96 | 96 |
|
97 | 97 |
// BitKeeper
|
98 | 98 |
"**/BitKeeper", "**/BitKeeper/**", "**/ChangeSet", "**/ChangeSet/**",
|
|
123 | 123 |
* @since 3.3.0
|
124 | 124 |
*/
|
125 | 125 |
protected Comparator<String> filenameComparator;
|
126 | |
|
|
126 |
|
127 | 127 |
/**
|
128 | 128 |
* Sets whether or not the file system should be regarded as case sensitive.
|
129 | 129 |
*
|
|
136 | 136 |
|
137 | 137 |
/**
|
138 | 138 |
* <p>Tests whether or not a given path matches the start of a given pattern up to the first "**".</p>
|
139 | |
*
|
|
139 |
*
|
140 | 140 |
* <p>This is not a general purpose test and should only be used if you can live with false positives. For example,
|
141 | 141 |
* <code>pattern=**\a</code> and <code>str=b</code> will yield <code>true</code>.</p>
|
142 | 142 |
*
|
|
151 | 151 |
|
152 | 152 |
/**
|
153 | 153 |
* <p>Tests whether or not a given path matches the start of a given pattern up to the first "**".</p>
|
154 | |
*
|
|
154 |
*
|
155 | 155 |
* <p>This is not a general purpose test and should only be used if you can live with false positives. For example,
|
156 | 156 |
* <code>pattern=**\a</code> and <code>str=b</code> will yield <code>true</code>.</p>
|
157 | 157 |
*
|
|
222 | 222 |
/**
|
223 | 223 |
* <p>Sets the list of include patterns to use. All '/' and '\' characters are replaced by
|
224 | 224 |
* <code>File.separatorChar</code>, so the separator used need not match <code>File.separatorChar</code>.</p>
|
225 | |
*
|
|
225 |
*
|
226 | 226 |
* <p>When a pattern ends with a '/' or '\', "**" is appended.</p>
|
227 | 227 |
*
|
228 | 228 |
* @param includes A list of include patterns. May be <code>null</code>, indicating that all files should be
|
|
251 | 251 |
/**
|
252 | 252 |
* <p>Sets the list of exclude patterns to use. All '/' and '\' characters are replaced by
|
253 | 253 |
* <code>File.separatorChar</code>, so the separator used need not match <code>File.separatorChar</code>.</p>
|
254 | |
*
|
|
254 |
*
|
255 | 255 |
* <p>When a pattern ends with a '/' or '\', "**" is appended.</p>
|
256 | 256 |
*
|
257 | 257 |
* @param excludes A list of exclude patterns. May be <code>null</code>, indicating that no files should be
|