GuideFilesystemOperationsdeleteDirdeleteDirThe deleteDir method is used to permanently remove a directory from the filesystem.