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

Expose git_packbuilder_write fn #1110

Merged

Conversation

Letiste
Copy link
Contributor

@Letiste Letiste commented Jan 2, 2025

Expose the libgit2 function git_packbuilder_write (doc) via a new method write on the PackBuilder.

I need this instead of write_buf not to write the whole packfile in a buffer. This simplifies writing a packfile and its index file as well, as instead of having an index and a packbuilder, we can only use the packbuilder.

@Letiste Letiste marked this pull request as ready for review January 2, 2025 16:04
Copy link
Contributor

@ehuss ehuss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@ehuss ehuss added this pull request to the merge queue Jan 4, 2025
Merged via the queue into rust-lang:master with commit 635d700 Jan 4, 2025
7 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