remove_file#

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

Remove a file from the index.

Parameters:

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

Raises:

FileNotFoundBarecatError – If the file is not found.