class_docstr: Description of the file status to e.g. check if newer version is available
  
      
class_docstr_tok: ["Description","of","the","file","status","to","e.g",".","check","if","newer","version","is","available"]
code: def __eq__(self, other):
      # If other is still None, we must be different
      if not other:
          return False
      # Disallow comparison of empty ones
      if (
          self.size is None and self.mtime is None
      ):  # and self.filename is None:
          return NotImplemented
      if (
          other.size is None and other.mtime is None
      ):  # and other.filename is None:
          return NotImplemented
  
      same = self.size == other.size  # and \
      # self.filename == other.filename
      if not same:
          return False
  
      # now deal with time.
  
      # TODO: provide a config option for mtime comparison precision
      #  we might want to claim times equal up to a second precision
      #  since e.g. some file systems do not even store sub-sec timing
      # TODO: config crawl.mtime_delta
  
      # if any of them int and another float -- we need to trim float to int
      if self.mtime == other.mtime:
          return True
      elif self.mtime is None or other.mtime is None:
          return False
  
      # none is None if here and not equal exactly
      if isinstance(self.mtime, int) or isinstance(other.mtime, int):
          return int(self.mtime) == int(other.mtime)
      return False
  
imports: from ..utils import auto_repr
label_desc: Use image node_id 2 for calling the FileStatus obj's underlying member method code with example usage: obj.__eq__(other) and returns: False, False, NotImplemented, NotImplemented, False, True, unknown, False