diff options
author | Vicent Martà <tanoku@gmail.com> | 2012-02-10 22:47:02 +0400 |
---|---|---|
committer | Vicent Martà <tanoku@gmail.com> | 2012-02-10 22:47:02 +0400 |
commit | 18e5b8547d075afc53c2b20ba15ef7c09cb5efd6 (patch) | |
tree | e2d3bf12a4489cb4ef2ea24e03ac67f36ee2ece0 /src/odb.h | |
parent | 9b8d56087cf6e981da76ac9e9cdb84e7dbc0fc32 (diff) |
odb: Add internal `git_odb__hashfd`
Diffstat (limited to 'src/odb.h')
-rw-r--r-- | src/odb.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -13,6 +13,7 @@ #include "vector.h" #include "cache.h" +#include "posix.h" #define GIT_OBJECTS_DIR "objects/" #define GIT_OBJECT_DIR_MODE 0777 @@ -38,6 +39,7 @@ struct git_odb { git_cache cache; }; -int git_odb__hash_obj(git_oid *id, git_rawobj *obj); +int git_odb__hashobj(git_oid *id, git_rawobj *obj); +int git_odb__hashfd(git_oid *out, git_file fd, size_t size, git_otype type); #endif |