add_file#

barecat.Index.add_file(finfo)[source]#

Add a file to the index.

Parameters:

finfo (barecat.core.types.BarecatFileInfo) – File info object.

Raises:

FileExistsBarecatError – If the file already exists.