Closed kelson42 closed 10 months ago
Attention: 1 lines
in your changes are missing coverage. Please review.
Comparison is base (
2a810ac
) 57.57% compared to head (c23d43e
) 57.57%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Fixes #769
For a client of libzim the only way to create an
Item
object is throughEntry::getItem()
orEntry::getRedirect()
(the latter relying on the former to deliver the final result).Before this change,
Entry::getItem()
performed (via theItem
constructor) an extra call toFileImpl::getDirent(entry_index_t)
. Now the result of that operation that is readily available in the sourceEntry
object is reused.