add#
- barecat.Index.add(info)[source]#
Add a file or directory to the index.
- Parameters:
info (barecat.core.types.BarecatEntryInfo) – File or directory info object.
- Raises:
FileExistsBarecatError – If the file or directory already exists.
Add a file or directory to the index.
info (barecat.core.types.BarecatEntryInfo) – File or directory info object.
FileExistsBarecatError – If the file or directory already exists.