MCPcopy Create free account
hub / github.com/libgit2/pygit2 / cached_memory

Method cached_memory

pygit2/settings.py:118–123  ·  view source on GitHub ↗

Get the current bytes in cache and the maximum that would be allowed in the cache.

(self)

Source from the content-addressed store, hash-verified

116
117 @property
118 def cached_memory(self) -> tuple[int, int]:
119 """
120 Get the current bytes in cache and the maximum that would be
121 allowed in the cache.
122 """
123 return option(Option.GET_CACHED_MEMORY)
124
125 def enable_caching(self, value: bool = True) -> None:
126 """

Callers

nothing calls this directly

Calls 1

optionFunction · 0.90

Tested by

no test coverage detected