-
-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce Archive::getMediaCount #730
Conversation
Codecov ReportBase: 84.91% // Head: 84.98% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #730 +/- ##
==========================================
+ Coverage 84.91% 84.98% +0.06%
==========================================
Files 98 99 +1
Lines 4383 4428 +45
Branches 1894 1921 +27
==========================================
+ Hits 3722 3763 +41
- Misses 660 664 +4
Partials 1 1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
3fd15f6
to
cea515b
Compare
955bcb2
to
ee4c488
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Please rebase-fixup.
8920632
to
a119ec0
Compare
It corresponds to what is made on libkiwix.
a119ec0
to
7a40cce
Compare
@mgautierfr Good to merge? |
yes |
* Optimization ofthe first call to `zim::Archive::iterEfficient` (@veloman-yunkan #724) * Add some documentation to `zim::writer::IndexData` (@mgautierfr #727) * Correctly catch and rethrow exception thrown in worker threads at creation (@mgautierfr #496 #748) * Optimization of `Entry::getItem()` (@veloman-yunkan #732) * Fix declaration of `zim::setICUDataDirectory()` (@MohitMaliFtechiz #733) * Add `zim::Archive::getMediatCount()` (@mgautierfr #730) * Make compilaton of examples optional (@mgautierfr #738) * Add a CI for wasm (@mgautierfr #746) * Make constructor of SuggestionItem public (@veloman-yunkan #740)
Fix #729
Code is based on getArchiveMediaCount in libkiwix.
readFullMimetypeAndCounterString
andparseASingleMimetypeCounter
are copied from libkiwix, without modification.