You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/09/02 14:49:00 UTC

[jira] [Work logged] (IO-596) Add DeleteFiles utility class for more robust file deletion strategies

     [ https://issues.apache.org/jira/browse/IO-596?focusedWorklogId=477916&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-477916 ]

ASF GitHub Bot logged work on IO-596:
-------------------------------------

                Author: ASF GitHub Bot
            Created on: 02/Sep/20 14:48
            Start Date: 02/Sep/20 14:48
    Worklog Time Spent: 10m 
      Work Description: garydgregory commented on pull request #72:
URL: https://github.com/apache/commons-io/pull/72#issuecomment-685786776


   Closing this PR, use version 2.7's `PathUtils` methods:
   - `delete(Path)`
   - `delete(Path, DeleteOption...)`
   - `deleteDirectory(Path)`
   - `deleteDirectory(Path, DeleteOption...)`
   - `deleteFile(Path)`
   - `deleteFile(Path, DeleteOption...)`
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 477916)
    Time Spent: 1h 20m  (was: 1h 10m)

> Add DeleteFiles utility class for more robust file deletion strategies
> ----------------------------------------------------------------------
>
>                 Key: IO-596
>                 URL: https://issues.apache.org/jira/browse/IO-596
>             Project: Commons IO
>          Issue Type: New Feature
>          Components: Utilities
>            Reporter: Matt Sicker
>            Assignee: Matt Sicker
>            Priority: Major
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)