Add git_odb_read_header method to the ODB
As requested, git_odb_read_header looks up an object on the ODB, but loads only the header information (type & size) without loading any of the actual file contents in memory. It is significantly faster than doing a git_odb_read if you only need an object's information and not its contents. Signed-off-by: Vicent Marti <tanoku@gmail.com>
Showing
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment