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

Correctly handle alias/hardlink in content duplication check. #377

Closed
mgautierfr opened this issue Oct 24, 2023 · 0 comments
Closed

Correctly handle alias/hardlink in content duplication check. #377

mgautierfr opened this issue Oct 24, 2023 · 0 comments
Assignees

Comments

@mgautierfr
Copy link
Collaborator

Following openzim/libzim#824 we will need to extend check tools to correctly handle duplication.

  • Duplication at entry level (two entries with same content) is valid
  • Duplication at blob level (two blobs with the same content) is not valid.

It implies we loop on the blobs instead of the entries to check for duplicated level.
And if we do so, we may want to do other checks at this moment instead of looping on articles after.

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

No branches or pull requests

1 participant