3 ms·
I also have my own implementation of packfiles [1], which I implemented as part of a toy Git implementation in Haskell [2]. I personally found the packfile form
by vaibhavsagar 4y ago
I also have my own implementation of packfiles [1], which I implemented as part of a toy Git implementation in Haskell [2]. I personally found the packfile format underdocumented, e.g. the official reference for the packfile generation strategy is an IRC transcript [3].
1: https://github.com/vaibhavsagar/duffer/blob/bad9c6c6cf09f717e22d3d65f95564236896d610/duffer/src/Duffer/Pack/Parser.hs https://github.com/vaibhavsagar/duffer/blob/bad9c6c6cf09f717...
2: https://vaibhavsagar.com/blog/2017/08/13/i-haskell-a-git/ https://vaibhavsagar.com/blog/2017/08/13/i-haskell-a-git/
3: https://git-scm.com/docs/pack-heuristics/ https://git-scm.com/docs/pack-heuristics/