You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This change adds support for odb.NewOdbBackendLoose(). This, together
with the git.Packbuilder, can do what Mempack does with a lot less
memory.
(cherry picked from commit 91946a5)
Copy file name to clipboardExpand all lines: odb.go
+23Lines changed: 23 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,7 @@ package git
4
4
#include <git2.h>
5
5
6
6
extern int git_odb_backend_one_pack(git_odb_backend **out, const char *index_file);
7
+
extern int git_odb_backend_loose(git_odb_backend **out, const char *objects_dir, int compression_level, int do_fsync, unsigned int dir_mode, unsigned int file_mode);
7
8
extern int _go_git_odb_foreach(git_odb *db, void *payload);
0 commit comments