MCPcopy Create free account
hub / github.com/libgit2/git2go / TestEnableStrictHashVerification

Function TestEnableStrictHashVerification

settings_test.go:60–66  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

58}
59
60func TestEnableStrictHashVerification(t *testing.T) {
61 err := EnableStrictHashVerification(false)
62 checkFatal(t, err)
63
64 err = EnableStrictHashVerification(true)
65 checkFatal(t, err)
66}
67
68func TestEnableFsyncGitDir(t *testing.T) {
69 err := EnableFsyncGitDir(false)

Callers

nothing calls this directly

Calls 2

checkFatalFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…