diff options
author | Vicent Martà <vicent@github.com> | 2013-01-07 18:33:50 -0800 |
---|---|---|
committer | Vicent Martà <vicent@github.com> | 2013-01-07 18:33:50 -0800 |
commit | 368a2b4e3edc32229793045f4970d33b366722bd (patch) | |
tree | 0fca2a3ed081c1aa3e98679468f1ca273d1a3280 /include/git2/blob.h | |
parent | 7dfc5c3c6c4cebe6e2477186a8e7ed6e7dba2c55 (diff) | |
parent | f2b7f7a6cb8678763ada70e75d5b38407770e269 (diff) | |
download | libgit2-368a2b4e3edc32229793045f4970d33b366722bd.tar.gz |
Merge pull request #1204 from arrbee/diff-blob-to-buffer
Have diff blob to buffer share code (and add tests)
Diffstat (limited to 'include/git2/blob.h')
-rw-r--r-- | include/git2/blob.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/git2/blob.h b/include/git2/blob.h index 30055b614..93d1c7646 100644 --- a/include/git2/blob.h +++ b/include/git2/blob.h @@ -91,7 +91,7 @@ GIT_INLINE(const git_oid *) git_blob_id(const git_blob *blob) * @param blob pointer to the blob * @return the pointer; NULL if the blob has no contents */ -GIT_EXTERN(const void *) git_blob_rawcontent(git_blob *blob); +GIT_EXTERN(const void *) git_blob_rawcontent(const git_blob *blob); /** * Get the size in bytes of the contents of a blob @@ -99,7 +99,7 @@ GIT_EXTERN(const void *) git_blob_rawcontent(git_blob *blob); * @param blob pointer to the blob * @return size on bytes */ -GIT_EXTERN(git_off_t) git_blob_rawsize(git_blob *blob); +GIT_EXTERN(git_off_t) git_blob_rawsize(const git_blob *blob); /** * Read a file from the working folder of a repository |