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

Function GetCachedMemory

settings.go:117–119  ·  view source on GitHub ↗

deprecated: You should use `CachedMemory()` instead.

()

Source from the content-addressed store, hash-verified

115
116// deprecated: You should use `CachedMemory()` instead.
117func GetCachedMemory() (current int, allowed int, err error) {
118 return CachedMemory()
119}
120
121func SetCacheMaxSize(maxSize int) error {
122 return setSizet(C.GIT_OPT_SET_CACHE_MAX_SIZE, maxSize)

Callers

nothing calls this directly

Calls 1

CachedMemoryFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…