MCPcopy Create free account
hub / github.com/psf/cachecontrol / FileCache

Class FileCache

cachecontrol/caches/file_cache.py:107–114  ·  view source on GitHub ↗

Traditional FileCache: body is stored in memory, so not suitable for large downloads.

Source from the content-addressed store, hash-verified

105
106
107class FileCache(_FileCacheMixin, BaseCache):
108 """
109 Traditional FileCache: body is stored in memory, so not suitable for large
110 downloads.
111 """
112
113 def delete(self, key: str) -> None:
114 self._delete(key, "")
115
116
117class SeparateBodyFileCache(_FileCacheMixin, SeparateBodyBaseCache):

Calls

no outgoing calls

Used in the wild real call sites across dependent graphs

searching dependent graphs…