| 779 | } |
| 780 | |
| 781 | bool Epub::getItemSize(const std::string& itemHref, size_t* size) const { |
| 782 | const std::string path = FsHelpers::normalisePath(itemHref); |
| 783 | return ZipFile(filepath).getInflatedFileSize(path.c_str(), size); |
| 784 | } |
| 785 | |
| 786 | int Epub::getSpineItemsCount() const { |
| 787 | if (!bookMetadataCache || !bookMetadataCache->isLoaded()) { |
no test coverage detected