Skip to content

Conversation

amcn
Copy link
Contributor

@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.
@jdavid jdavid merged commit 588f48a into libgit2:master Jun 17, 2025
8 checks passed
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.

2 participants