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.
Add a file to the index.
finfo (barecat.core.types.BarecatFileInfo) – File info object.
FileExistsBarecatError – If the file already exists.