Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/django/django
/ clear
Method
clear
django/core/cache/backends/filebased.py:140–145 ·
view source on GitHub ↗
Remove all the cache files.
(self)
Source
from the content-addressed store, hash-verified
138
)
139
140
def
clear(self):
141
""
"
142
Remove all the cache files.
143
""
"
144
for
fname in self._list_cache_files():
145
self._delete(fname)
146
147
def
_is_expired(self, f):
148
""
"
Callers
1
_cull
Method · 0.95
Calls
2
_list_cache_files
Method · 0.95
_delete
Method · 0.95
Tested by
no test coverage detected