commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] [commons-io] garydgregory edited a comment on pull request #72: [IO-596] Add DeleteFiles utility class
Date Wed, 02 Sep 2020 14:56:09 GMT

garydgregory edited a comment on pull request #72:

   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...)`
   - maxRetries;
   - waitBetweenRetriesMillis;
   - backoffMultiplier;
   - retryOverridingFileAttributes;
   - overrideAllAttributes;
   Perhaps these attributes could encapsulated in a new `CopyStrategy` 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`?

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:

View raw message