smiklosovic commented on code in PR #3374:
URL: https://github.com/apache/cassandra/pull/3374#discussion_r1874397256
##########
src/java/org/apache/cassandra/io/util/PathUtils.java:
##########
@@ -401,6 +401,18 @@ public static void deleteRecursive(Path path)
delete(path);
}
+ /**
+ * Empties everything in directory of "path" but keeps the directory
itself.
+ *
+ * @param path directory to be emptied
+ * @throws FSWriteError if any part of the tree cannot be deleted
+ */
+ public static void clearDirectory(Path path)
Review Comment:
moved to where it is used.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]