Uploaded image for project: 'ShrinkWrap'
  1. ShrinkWrap
  2. SHRINKWRAP-353

Support for Shallow Copy of an Archive

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 1.1.0-alpha-1
    • 1.0.0-cr-1
    • api, impl-base
    • None

      war2 = war.shallowCopy();
      war.delete("file.txt")
      Assert.assertTrue(war2.contains("file.text"))
      

      We're going to take a shallow copy approach here, such that:

      war2 = war.shallowCopy();
      war.get("/path1"); == war2.get("/path1"); // Returns true

              elefevre_jira Eric Lefevre-Ardant (Inactive)
              aslak@redhat.com Aslak Knutsen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: