Skip to content

[RFC] Index: add wrapper for git_index_remove_directory #1377

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

amcn
Copy link

@amcn amcn commented Jun 11, 2025

Hello pygit2 maintainers,

While using pygit2 I needed a way to remove a directory in one fell swoop. I noticed that such a function exists in libgit2, git_index_remove_directory, but that it was not exported to the python binding yet.

This PR exports it. Let me know what you think.

Add support for libgit2's `git_index_remove_directory` to
pygit2's `Index` class.
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.

1 participant