Skip to content
Discussion options

You must be logged in to vote

Pack creation is indeed possible and abstracted enough to be able to create packs entirely from memory.

To get started, I recommend playing with gix no-repo pack, and the implementation can be found here for prototyping.

But you already know that.

I've also looked at #692 and read through this create function, but so much of the code seems to rely on a handle to an actual repository. Is there an easy way to do this when I simply have the raw object data and the IDs?

The handle in this portion of the codebase refers to something that implements the gix_pack::Find trait. You should be able to implement portions of it to provide data to the machinery. Note that it's tuned to assume packs, …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by swedgwood
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants