Skip to content

Commit

Permalink
fixup! Fix documentation of getEntryByPath.
Browse files Browse the repository at this point in the history
  • Loading branch information
mgautierfr committed Feb 21, 2024
1 parent 3d561a5 commit 526e86e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion include/zim/archive.h
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,10 @@ namespace zim
* On archive without new namespace scheme, path must contain the namespace.
* A compatibility layer exists to accept "old" path on new archive (and the opposite)
* to help using saved path (bookmark) on new archive.
* But it is not possible to access content in other namespace than `C` in new archive.
* On new archive, we first search the path in `C` namespace, then try to remove the potential namespace in path
* and search again in `C` namespace with path "without namespace".
* On old archive, we first assume path contains a namespace and if not (or no entry found) search in
* namespaces `A`, `I`, `J` and `-`.
*
* @param path The entry's path.
* @return The Entry.
Expand Down

0 comments on commit 526e86e

Please sign in to comment.