diff options
author | Robin Rosenberg <robin.rosenberg@dewire.com> | 2013-02-20 22:54:59 +0100 |
---|---|---|
committer | Robin Stocker <robin@nibor.org> | 2013-03-08 16:26:10 +0100 |
commit | 08d5ede281843701ba709ef4f6f4336958f215d5 (patch) | |
tree | b1bacd169cfc60279053cfed2fb38c96cb7d2dfe /org.eclipse.jgit.pgm | |
parent | 13ea3b0957d1621c1aea986a97f8d2ec0b37491a (diff) | |
download | jgit-08d5ede281843701ba709ef4f6f4336958f215d5.tar.gz jgit-08d5ede281843701ba709ef4f6f4336958f215d5.zip |
Extend FileUtils.delete with option to delete empty directories only
The new option EMPTY_DIRECTORIES_ONLY will make delete() only delete
empty directories. Any attempt to delete files will fail. Can be
combined with RECURSIVE to wipe out entire tree structures and
IGNORE_ERRORS to silently ignore any files or non-empty directories.
Change-Id: Icaa9a30e5302ee5c0ba23daad11c7b93e26b7445
Signed-off-by: Robin Stocker <robin@nibor.org>
Diffstat (limited to 'org.eclipse.jgit.pgm')
0 files changed, 0 insertions, 0 deletions