void () { createDirectory(root, "dir1"); createDirectory(root, "dir1/dir2"); assertTrue(root.hasEntry("dir1")); assertTrue(root.hasEntry("dir1/dir2")); delete(root, "dir1/dir2"); assertFalse(root.hasEntry("dir1/dir2")); assertTrue(root.hasEntry("dir1")); }