MCPcopy Index your code
hub / github.com/pyfa-org/Pyfa / _clearInternalCache

Method _clearInternalCache

graphs/data/fitWarpTime/graph.py:37–41  ·  view source on GitHub ↗
(self, reason, extraData)

Source from the content-addressed store, hash-verified

35 self._subspeedCache = SubwarpSpeedCache()
36
37 def _clearInternalCache(self, reason, extraData):
38 if reason in (GraphCacheCleanupReason.fitChanged, GraphCacheCleanupReason.fitRemoved):
39 self._subspeedCache.clearForFit(extraData)
40 elif reason == GraphCacheCleanupReason.graphSwitched:
41 self._subspeedCache.clearAll()
42
43 # UI stuff
44 internalName = 'warpTimeGraph'

Callers

nothing calls this directly

Calls 2

clearForFitMethod · 0.80
clearAllMethod · 0.80

Tested by

no test coverage detected