fsspec/implementations/cached.py
def _check_cache(self):
        """Reload caches if time elapsed or any disappeared"""
        self._mkcache()
        if not self.cache_check:
            # explicitly told not to bother checking
            return
        timecond = time.time() - self.last_cache > self.cache_check
        existcond = all(os.path.exists(storage) for storage in self.storage)
        if timecond or not existcond:
            self.load_cache()
Reload caches if time elapsed or any disappeared
Reload caches if time elapsed or any disappeared
Reload caches if time elapsed or any disappeared
def _check_cache(self):
        self._mkcache()
        if not self.cache_check:
            return
        timecond = time.time() - self.last_cache > self.cache_check
        existcond = all(os.path.exists(storage) for storage in self.storage)
        if timecond or not existcond:
            self.load_cache()
def _check_cache ( self ) : self . _mkcache ( ) if not self . cache_check : return timecond = time . time ( ) - self . last_cache > self . cache_check existcond = all ( os . path . exists ( storage ) for storage in self . storage ) if timecond or not existcond : self . load_cache ( )
Reload caches if time elapsed or any disappeared
Reload caches if time elapsed or any disappeared
"""Reload caches if time elapsed or any disappeared""" # explicitly told not to bother checking
self