original_docstring: 
          Return True if the file $file_info.path suggests that it might have
          been modified since file_info was generated.
  
          Uses file properties such as:
              - Last modification time
              - File size
  
          Unless there are clock screwups, when this function returns False it
          can be assumed the file has not changed. If it returns True it might or
          might not have been changed.
          
docstring: Return True if the file $file_info.path suggests that it might have
  been modified since file_info was generated.
  
  Uses file properties such as:
  Last modification time
  File size
  
  Unless there are clock screwups, when this function returns False it
  can be assumed the file has not changed. If it returns True it might or
  might not have been changed.
docstring_tokens: Return True if the file $file_info . path suggests that it might have been modified since file_info was generated . Uses file properties such as : Last modification time File size Unless there are clock screwups when this function returns False it can be assumed the file has not changed . If it returns True it might or might not have been changed .
code: def file_maybe_modified(self, file_state):
          """
          Return True if the file $file_info.path suggests that it might have
          been modified since file_info was generated.
  
          Uses file properties such as:
              - Last modification time
              - File size
  
          Unless there are clock screwups, when this function returns False it
          can be assumed the file has not changed. If it returns True it might or
          might not have been changed.
          """
          path = self.path / file_state.path
  
          exists_before = file_state.size is not None
          exists_now = path.exists()
  
          if not exists_before and not exists_now:
              # Nothing changed on the non-existance of this file in this
              # location.
              return False
  
          if exists_before != exists_now:
              # File either came into or vanished from existance, thats
              # definitely a change.
              return True
  
          assert exists_before and exists_now
  
          mtime = path.stat().st_mtime
          size = path.stat().st_size
  
          if file_state.mtime > mtime:
              logger.warn('Clock screwup: Memorized modification time of {} is more recent than actual.'.format(
                  file_state.path
              ))
              # Default to treating the file as modified (always a safe choice in
              # terms of consistency, might just mean unnecessary scanning work).
              return True
  
          return mtime > file_state.mtime or size != file_state.size
code_tokens: def file_maybe_modified ( self , file_state ) : path = self . path / file_state . path exists_before = file_state . size is not None exists_now = path . exists ( ) if not exists_before and not exists_now : return False if exists_before != exists_now : return True assert exists_before and exists_now mtime = path . stat ( ) . st_mtime size = path . stat ( ) . st_size if file_state . mtime > mtime : logger . warn ( 'Clock screwup: Memorized modification time of {} is more recent than actual.' . format ( file_state . path ) ) return True return mtime > file_state . mtime or size != file_state . size
short_docstring: Return True if the file $file_info.path suggests that it might have
  been modified since file_info was generated.
short_docstring_tokens: Return True if the file $file_info . path suggests that it might have been modified since file_info was generated .
comment: """
          Return True if the file $file_info.path suggests that it might have
          been modified since file_info was generated.
  
          Uses file properties such as:
              - Last modification time
              - File size
  
          Unless there are clock screwups, when this function returns False it
          can be assumed the file has not changed. If it returns True it might or
          might not have been changed.
          """$SEP$# Nothing changed on the non-existance of this file in this$SEP$# location.$SEP$# File either came into or vanished from existance, thats$SEP$# definitely a change.$SEP$# Default to treating the file as modified (always a safe choice in$SEP$# terms of consistency, might just mean unnecessary scanning work).