diff options
| author | Jesse Ezell <[email protected]> | 2014-03-11 12:55:57 -0700 |
|---|---|---|
| committer | Jesse Ezell <[email protected]> | 2014-03-11 12:55:57 -0700 |
| commit | 634acbe498e40e617b4aefcce7a82887a455a04e (patch) | |
| tree | 90d4404350d00b7276096080006e280ec308adff /wrapper.c | |
| parent | 9fb7a746e0103ceff2fd8eb9845e782711a87535 (diff) | |
| parent | 1cf81178141c504c62bb3faaa406db665dc5471a (diff) | |
merge with latest
Diffstat (limited to 'wrapper.c')
| -rw-r--r-- | wrapper.c | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -63,4 +63,16 @@ int _go_git_push_set_callbacks(git_push *push, void *packbuilder_progress_data, return git_push_set_callbacks(push, packbuilderProgress, packbuilder_progress_data, pushTransferProgress, transfer_progress_data); } +int _go_blob_chunk_cb(char *buffer, size_t maxLen, void *payload) +{ + return blobChunkCb(buffer, maxLen, payload); +} + +int _go_git_blob_create_fromchunks(git_oid *id, + git_repository *repo, + const char *hintpath, + void *payload) +{ + return git_blob_create_fromchunks(id, repo, hintpath, _go_blob_chunk_cb, payload); +} /* EOF */ |
