MCPcopy
hub / github.com/gpustack/gpustack / clear

Method clear

gpustack/server/coordinator/cache.py:172–175  ·  view source on GitHub ↗

Clear all caches.

(self)

Source from the content-addressed store, hash-verified

170 self._preloaded.add(entity_name)
171
172 def clear(self) -> None:
173 """Clear all caches."""
174 self._detectors.clear()
175 self._preloaded.clear()
176
177
178# Global cache manager instance

Callers 15

clear_bufferFunction · 0.80
awatchMethod · 0.80
awatchMethod · 0.80
awatchMethod · 0.80
awatchMethod · 0.80
awatchMethod · 0.80
awatchMethod · 0.80
awatchMethod · 0.80
awatchMethod · 0.80
_refresh_cacheMethod · 0.80

Calls

no outgoing calls

Tested by 1

clear_bufferFunction · 0.64