vendor/libgit2/src/libgit2/commit_graph.h in rugged-1.5.1 vs vendor/libgit2/src/libgit2/commit_graph.h in rugged-1.6.2
- old
+ new
@@ -104,9 +104,12 @@
};
/** Create a new commit-graph, optionally opening the underlying file. */
int git_commit_graph_new(git_commit_graph **cgraph_out, const char *objects_dir, bool open_file);
+/** Validate the checksum of a commit graph */
+int git_commit_graph_validate(git_commit_graph *cgraph);
+
/** Open and validate a commit-graph file. */
int git_commit_graph_file_open(git_commit_graph_file **file_out, const char *path);
/*
* Attempt to get the git_commit_graph's commit-graph file. This object is