remove_empty_dir#

barecat.Index.remove_empty_dir(item)[source]#

Remove an empty directory from the index.

Parameters:

item (Union[barecat.core.types.BarecatDirInfo, str]) – Path of the directory or the directory info object.

Raises: