garydgregory edited a comment on pull request #72:
URL: https://github.com/apache/commons-io/pull/72#issuecomment-685786776


   Hi All,
   
   For the basic operations, please use version 2.7's `IOExceptionList` and 
`PathUtils` methods:
   
   - `delete(Path)`
   - `delete(Path, DeleteOption...)`
   - `deleteDirectory(Path)`
   - `deleteDirectory(Path, DeleteOption...)`
   - `deleteFile(Path)`
   - `deleteFile(Path, DeleteOption...)`
   
   WRT:
   - maxRetries;
   - waitBetweenRetriesMillis;
   - backoffMultiplier;
   - retryOverridingFileAttributes;
   - overrideAllAttributes;
   
   Perhaps these attributes could encapsulated in a new `CopyStrategy 
implements DeleteOption` class (where deleting is a kind of copying [to the bit 
bucket]) which could then be used by both _delete_ and _copy_ methods in 
`PathUtils`?
   
   WDYT?
   


----------------------------------------------------------------
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:
[email protected]


Reply via email to