Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/odb.h
diff options
context:
space:
mode:
authorVicent Martí <tanoku@gmail.com>2012-02-10 22:47:02 +0400
committerVicent Martí <tanoku@gmail.com>2012-02-10 22:47:02 +0400
commit18e5b8547d075afc53c2b20ba15ef7c09cb5efd6 (patch)
treee2d3bf12a4489cb4ef2ea24e03ac67f36ee2ece0 /src/odb.h
parent9b8d56087cf6e981da76ac9e9cdb84e7dbc0fc32 (diff)
odb: Add internal `git_odb__hashfd`
Diffstat (limited to 'src/odb.h')
-rw-r--r--src/odb.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/odb.h b/src/odb.h
index b81533001..fd0787e84 100644
--- a/src/odb.h
+++ b/src/odb.h
@@ -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