When you delete a directory, all of the files contained within it are also deleted. A delete marker is created for the directory, which can be used to restore it and all of its contents at a later time. See Displaying deleted objects and directories.