(enabled bool)
| 86 | } |
| 87 | |
| 88 | func 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 | |
| 96 | func EnableStrictHashVerification(enabled bool) error { |
| 97 | if enabled { |
searching dependent graphs…