def getmtime(self):
    if not self._s3walk() or not self._s3walk()[0].last_modified:
      return None

    with self.calendar_lock: # XXX strptime not thread-safe, see http://bugs.python.org/issue7980
      result = calendar.timegm(time.strptime(self._s3walk()[0].last_modified, '%Y-%m-%dT%H:%M:%S.000Z'))
    return result
Get the last modified timestamp of the path
dataset/ETHPy150Open bloomreach/briefly/src/briefly/fs.py/S3FileSystem.getmtime