We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20b1713 commit c498af6Copy full SHA for c498af6
src/opts.rs
@@ -4,7 +4,8 @@ use crate::raw;
4
5
/// Controls whether or not libgit2 will verify that objects loaded have the
6
/// expected hash. Enabled by default, but disabling this can significantly
7
-/// improve performance at the cost of correctness.
+/// improve performance, at the cost of relying on repository integrity
8
+/// without checking it.
9
pub fn strict_hash_verification(enabled: bool) {
10
let error = unsafe {
11
raw::git_libgit2_opts(
0 commit comments