Skip to content
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 new getEntryByPathWithNamespace #859

Merged
merged 2 commits into from
Feb 22, 2024
Merged

Conversation

mgautierfr
Copy link
Collaborator

Fix #843

@mgautierfr mgautierfr changed the title Introduce new getEntryByPathWithNs Introduce new getEntryByPathWithNamespace Feb 19, 2024
Copy link

codecov bot commented Feb 19, 2024

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (a7776b3) 57.60% compared to head (6054660) 61.27%.

Files Patch % Lines
src/archive.cpp 40.00% 0 Missing and 3 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #859      +/-   ##
==========================================
+ Coverage   57.60%   61.27%   +3.67%     
==========================================
  Files          99       83      -16     
  Lines        4590     3422    -1168     
  Branches     1922     1327     -595     
==========================================
- Hits         2644     2097     -547     
+ Misses        677      435     -242     
+ Partials     1269      890     -379     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@veloman-yunkan veloman-yunkan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reiterating my earlier comment - the docstrings of findByPath() and findByTitle() must be updated/corrected, too.

include/zim/archive.h Outdated Show resolved Hide resolved
include/zim/archive.h Show resolved Hide resolved
src/archive.cpp Show resolved Hide resolved
Copy link
Collaborator

@veloman-yunkan veloman-yunkan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess you missed the text of the previous review:

Reiterating my earlier comment - the docstrings of findByPath() and findByTitle() must be updated/corrected, too.

Copy link
Collaborator

@veloman-yunkan veloman-yunkan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

5 minutes short of LGTM

Please address the new comments, fully fixup & rebase and you don't even have to request another review.

include/zim/archive.h Outdated Show resolved Hide resolved
include/zim/archive.h Outdated Show resolved Hide resolved
This allow "advanced" tools (as zimdump) to access content in any
namespaces, even for new archive.
@mgautierfr mgautierfr merged commit 121e3af into main Feb 22, 2024
29 of 30 checks passed
@mgautierfr mgautierfr deleted the getEntryByPath_ns branch February 22, 2024 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mess with zim::Archive::getEntryByPath(const std::string& path)
2 participants