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

[QUESTION] rm.entry with removeFully option behaviour #277

Open
1 task done
RahulGautamSingh opened this issue Jun 22, 2024 · 0 comments
Open
1 task done

[QUESTION] rm.entry with removeFully option behaviour #277

RahulGautamSingh opened this issue Jun 22, 2024 · 0 comments
Labels
Bug Needs Triage needs an initial review

Comments

@RahulGautamSingh
Copy link

RahulGautamSingh commented Jun 22, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Does rm.entry with the removeFully option remove all the entries that reference the same content or does it remove the entry whose key was provided and the content associated with it.

From the docs for removeFully option

If opts.removeFully is set to true then the index file itself will be physically deleted rather than appending a null.

What does deleting the index file mean? If I understand correctly there is only one index file which stored info for all the entries, then if we delete it how do we access the info on other entries?

@RahulGautamSingh RahulGautamSingh added Bug Needs Triage needs an initial review labels Jun 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Needs Triage needs an initial review
Projects
None yet
Development

No branches or pull requests

1 participant