mirror of
https://github.com/kiwix/libkiwix.git
synced 2025-06-28 05:49:35 +00:00
+ better computation of ZIM files sizes
This commit is contained in:
@ -270,8 +270,9 @@ namespace kiwix {
|
||||
std::ostringstream mediaCountStream;
|
||||
mediaCountStream << reader.getMediaCount();
|
||||
book.mediaCount = mediaCountStream.str();
|
||||
|
||||
book.size = getFileSizeAsString(path);
|
||||
|
||||
ostringstream convert; convert << reader.getFileSize();
|
||||
book.size = convert.str();
|
||||
|
||||
string favicon;
|
||||
string faviconMimeType;
|
||||
|
Reference in New Issue
Block a user