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

Function EnableCaching

settings.go:88–94  ·  view source on GitHub ↗
(enabled bool)

Source from the content-addressed store, hash-verified

86}
87
88func EnableCaching(enabled bool) error {
89 if enabled {
90 return setSizet(C.GIT_OPT_ENABLE_CACHING, 1)
91 } else {
92 return setSizet(C.GIT_OPT_ENABLE_CACHING, 0)
93 }
94}
95
96func EnableStrictHashVerification(enabled bool) error {
97 if enabled {

Callers 1

TestEnableCachingFunction · 0.85

Calls 1

setSizetFunction · 0.85

Tested by 1

TestEnableCachingFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…