rmdir#
- barecat.Barecat.rmdir(item)[source]#
Remove (delete) an empty directory from the archive.
- Parameters:
item (Union[BarecatDirInfo, str]) – Either a BarecatDirInfo object, or a path to a directory within the archive.
- Raises:
FileNotFoundBarecatError – If a directory with this path does not exist in the archive.
DirectoryNotEmptyBarecatError – If the directory is not empty.