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

Function TestEnableCaching

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

Source from the content-addressed store, hash-verified

50}
51
52func TestEnableCaching(t *testing.T) {
53 err := EnableCaching(false)
54 checkFatal(t, err)
55
56 err = EnableCaching(true)
57 checkFatal(t, err)
58}
59
60func TestEnableStrictHashVerification(t *testing.T) {
61 err := EnableStrictHashVerification(false)

Callers

nothing calls this directly

Calls 2

EnableCachingFunction · 0.85
checkFatalFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…