I would like the patch below applied to:
commons-compress-1.1-src/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveEntry.java
I had approached the ant project with this request (as I had been using the tar
under org.apache.tools.tar.TarEntry that ships with ant) but Stefan Bodewig
directed me here.
If this patch is accepted, can you please let me know when the 1.2 release is
planned?
Thanks much in advance,
--- TarArchiveEntry.java.0 2010-10-27 13:30:58.669839000 -0700
+++ TarArchiveEntry.java 2010-10-27 13:54:48.344231000 -0700
@@ -594,6 +594,15 @@
}
/**
+ * Return whether or not this entry represents a symbolic link.
+ *
+ * @return True if this entry represents a symbolic link, false otherwise.
+ */
+ public boolean isSymbolicLink() {
+ return (linkFlag == LF_SYMLINK);
+ }
+
+ /**
* If this entry represents a file, and the file is a directory, return
* an array of TarEntries for this entry's children.
*
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]