Skip to content

Expose git_packbuilder_write fn#1110

Merged
ehuss merged 2 commits intorust-lang:masterfrom
Letiste:leo.sale/export-packbuilder-write-fn
Jan 4, 2025
Merged

Expose git_packbuilder_write fn#1110
ehuss merged 2 commits intorust-lang:masterfrom
Letiste:leo.sale/export-packbuilder-write-fn

Conversation

@Letiste
Copy link
Copy Markdown
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
Copy Markdown
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
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