Skip to content

Commit 99469b5

Browse files
committed
Adding source of the exclude list
1 parent 3dc183f commit 99469b5

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;
@@ -73,7 +72,7 @@
7372
public final class VFSUtils {
7473

7574
/**
76-
* Patterns which should be excluded by default, like .gitignore or SCM files
75+
* Patterns which should be excluded by default, like .gitignore or SCM files.
7776
* <ul>
7877
* <li>Misc: &#42;&#42;/&#42;~, &#42;&#42;/#&#42;#, &#42;&#42;/.#&#42;, &#42;&#42;/%&#42;%,
7978
* &#42;&#42;/._&#42;</li>
@@ -96,6 +95,9 @@ public final class VFSUtils {
9695
* &#42;&#42;/.darcsrepo/&#42;&#42;&#42;&#42;/-darcs-backup&#42;, &#42;&#42;/.darcs-temp-mail
9796
* </ul>
9897
*
98+
*
99+
* The list is a copy of the one used in tools like the Maven JAR Plugin. @see <a href=
100+
* "https://codehaus-plexus.github.io/plexus-utils/apidocs/org/codehaus/plexus/util/AbstractScanner.html#DEFAULTEXCLUDES">DEFAULTEXCLUDES</a>
99101
*/
100102
private static final String[] DEFAULT_EXCLUDES = {
101103
// Miscellaneous typical temporary files

0 commit comments

Comments
 (0)