Why is this being made public if the functionality is already incorporated into `rmdir`?