diff options
author | Vicent Marti <tanoku@gmail.com> | 2010-10-29 00:44:15 +0300 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2010-10-29 00:44:15 +0300 |
commit | adc0327ab308696650b62b2a8ded75f788f7b297 (patch) | |
tree | 82d3e0562a36bdc9d8c7e7fd4a93c315b43f4567 /src/commit.c | |
parent | 585190183b47dc991605abcfbe3afb57220a0f29 (diff) | |
download | libgit2-adc0327ab308696650b62b2a8ded75f788f7b297.tar.gz |
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>
Diffstat (limited to 'src/commit.c')
0 files changed, 0 insertions, 0 deletions