Uploaded image for project: 'Commons Compress'
  1. Commons Compress
  2. COMPRESS-201

No constructor to create a TarArchiveEntry link with leading slash

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.4.1
    • 1.5
    • Compressors

    Description

      I want to create a link with a leading slash and put it in a tar archive (Debian package).

      The following constructors are provided

      public TarArchiveEntry(String name, boolean preserveLeadingSlashes)
      public TarArchiveEntry(String name, byte linkFlag)
      

      but there is no

      public TarArchiveEntry(String name, byte linkFlag, boolean preserveLeadingSlashes)
      

      so I have to overwrite the name using setName(String) which is not very clean.

      Attachments

        Activity

          People

            Unassigned Unassigned
            tmortagne Thomas Mortagne
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: