vendor/libgit2/include/git2/sys/odb_backend.h in rugged-0.23.3 vs vendor/libgit2/include/git2/sys/odb_backend.h in rugged-0.24.0b0
- old
+ new
@@ -81,9 +81,13 @@
int (* writepack)(
git_odb_writepack **, git_odb_backend *, git_odb *odb,
git_transfer_progress_cb progress_cb, void *progress_payload);
+ /**
+ * Frees any resources held by the odb (including the `git_odb_backend`
+ * itself). An odb backend implementation must provide this function.
+ */
void (* free)(git_odb_backend *);
};
#define GIT_ODB_BACKEND_VERSION 1
#define GIT_ODB_BACKEND_INIT {GIT_ODB_BACKEND_VERSION}