diff options
author | Patrick Steinhardt <ps@pks.im> | 2017-10-13 13:14:54 +0200 |
---|---|---|
committer | Patrick Steinhardt <ps@pks.im> | 2018-06-22 09:50:07 +0200 |
commit | bbbe8441750a9072a6f4e96c8d364ede79dd2300 (patch) | |
tree | 218062644566d068814c917451c4355b47384885 /src/commit.c | |
parent | 4e8dc055b6ec0a960f112178e81b56c8b464fe8c (diff) | |
download | libgit2-bbbe8441750a9072a6f4e96c8d364ede79dd2300.tar.gz |
blob: use getters to get raw blob content and size
Going forward, we will have to change how blob sizes are calculated
based on whether the blob is a cahed object part of the ODB or not. In
order to not have to distinguish between those two object types
repeatedly when accessing the blob's data or size, encapsulate all
existing direct uses of those fields by instead using
`git_blob_rawcontent` and `git_blob_rawsize`.
Diffstat (limited to 'src/commit.c')
0 files changed, 0 insertions, 0 deletions