parameters: (self, source, fr)
return_statement: return m.hexdigest()
docstring: Compute a hash that changes if the file needs to be re-reported.
docstring_summary: Compute a hash that changes if the file needs to be re-reported.
docstring_tokens: Compute a hash that changes if the file needs to be re - reported .
function: def file_hash(self, source, fr):
          """Compute a hash that changes if the file needs to be re-reported."""
          m = Hasher()
          m.update(source)
          self.coverage.data.add_to_hash(fr.filename, m)
          return m.hexdigest()
function_tokens: def file_hash ( self , source , fr ) : m = Hasher ( ) m . update ( source ) self . coverage . data . add_to_hash ( fr . filename , m ) return m . hexdigest ( )