Skip to content

Commit 6877b76

Browse files
horakivoelkorchi
authored andcommitted
Adding source of the exclude list
(cherry picked from commit 99469b5)
1 parent 9209769 commit 6877b76

File tree

1 file changed

+4
-2
lines changed
  • graalpython/org.graalvm.python.embedding.tools/src/org/graalvm/python/embedding/tools/vfs

1 file changed

+4
-2
lines changed

graalpython/org.graalvm.python.embedding.tools/src/org/graalvm/python/embedding/tools/vfs/VFSUtils.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
import java.io.FileWriter;
4545
import java.io.IOException;
4646
import java.nio.charset.StandardCharsets;
47-
import java.nio.file.FileSystem;
4847
import java.nio.file.FileSystems;
4948
import java.nio.file.Files;
5049
import java.nio.file.Path;
@@ -67,7 +66,7 @@
6766
public final class VFSUtils {
6867

6968
/**
70-
* Patterns which should be excluded by default, like .gitignore or SCM files
69+
* Patterns which should be excluded by default, like .gitignore or SCM files.
7170
* <ul>
7271
* <li>Misc: &#42;&#42;/&#42;~, &#42;&#42;/#&#42;#, &#42;&#42;/.#&#42;, &#42;&#42;/%&#42;%,
7372
* &#42;&#42;/._&#42;</li>
@@ -90,6 +89,9 @@ public final class VFSUtils {
9089
* &#42;&#42;/.darcsrepo/&#42;&#42;&#42;&#42;/-darcs-backup&#42;, &#42;&#42;/.darcs-temp-mail
9190
* </ul>
9291
*
92+
*
93+
* The list is a copy of the one used in tools like the Maven JAR Plugin. @see <a href=
94+
* "https://codehaus-plexus.github.io/plexus-utils/apidocs/org/codehaus/plexus/util/AbstractScanner.html#DEFAULTEXCLUDES">DEFAULTEXCLUDES</a>
9395
*/
9496
private static final String[] DEFAULT_EXCLUDES = {
9597
// Miscellaneous typical temporary files

0 commit comments

Comments
 (0)