]>
git.proxmox.com Git - libgit2.git/blob - src/odb.h
1 #ifndef INCLUDE_odb_h__
2 #define INCLUDE_odb_h__
6 #include "git2/types.h"
13 void *data
; /**< Raw, decompressed object data. */
14 size_t len
; /**< Total number of bytes in data. */
15 git_otype type
; /**< Type of this object. */
19 struct git_odb_object
{
20 git_cached_obj cached
;
31 int git_odb__hash_obj(git_oid
*id
, char *hdr
, size_t n
, int *len
, git_rawobj
*obj
);