ExGitEngine. Packfile
(ex_git_engine v0.9.1)
Copy Markdown
Conveniences for reading and writting Git pack files.
Summary
Types
@type obj() :: {ExGitEngine.Git.obj_type(), binary()}
@type obj_iter() :: {non_neg_integer(), non_neg_integer(), binary()}
Functions
Returns a list of ODB objects and their type for the given PACK data.
Same as parse/1 but starts from the given iterator.
@spec parse_header(binary()) :: {2, non_neg_integer()}
Returns the PACK version and the number of objects it contains.