remove_recursively#
- barecat.Index.remove_recursively(item)[source]#
Remove a directory and all its contents recursively.
- Parameters:
item (Union[barecat.core.types.BarecatDirInfo, str]) – Path of the directory or the directory info object.
- Raises:
FileNotFoundBarecatError – If the directory is not found.