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

Method _isTimeCacheValid

graphs/data/fitDamageStats/cache/time.py:253–258  ·  view source on GitHub ↗
(self, src, maxTime)

Source from the content-addressed store, hash-verified

251 currentTime += cycleTimeMs / 1000 + inactiveTimeMs / 1000
252
253 def _isTimeCacheValid(self, src, maxTime):
254 try:
255 cacheMaxTime = self._data[src.item.ID]['maxTime']
256 except KeyError:
257 return False
258 return maxTime <= cacheMaxTime
259
260 def _getDataPoint(self, src, time, dataFunc):
261 data = dataFunc(src)

Callers 1

_generateInternalFormMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected