Either that or just make a bunch of rmdir() calls ourselves instead of delegating to rmtree(). Probably more efficient, too, since we know what dirs we've traversed so we can avoid another listdir (maybe?).
Either that or just make a bunch of rmdir() calls ourselves instead of delegating to rmtree(). Probably more efficient, too, since we know what dirs we've traversed so we can avoid another listdir (maybe?).