Uploaded image for project: 'Commons IO'
  1. Commons IO
  2. IO-596

Add DeleteFiles utility class for more robust file deletion strategies

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.12.0
    • Utilities
    • None

    Description

      Particularly for Windows environments where deleting files can turn into a hassle due to the inability to remove open files, I would like to provide a file deletion utility class that has the ability to retry deletions with exponential backoff, force override file attributes to allow for deletion, and deleting as much as possible while accumulating errors.

      This functionality was originally inspired by and based on functionality in Jenkins hudson.Util class.

      Attachments

        Activity

          People

            mattsicker Matt Sicker
            mattsicker Matt Sicker
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 4h
                4h