check_crc32c#
- barecat._api.Barecat.check_crc32c(item)[source]#
Check the CRC32C checksum of a file in the archive.
- Parameters:
item (Union[BarecatFileInfo, str]) – Either a BarecatFileInfo object, or a path to a file within the archive.
- Returns:
True if the CRC32C checksum of the file matches the expected value or no checksum is stored in the database.
- Raises:
LookupError – If a file with this path does not exist in the archive.