def update(self, source_file, configuration, declarations, included_files):
record = record_t(<EOL>source_signature=file_signature(source_file),<EOL>config_signature=configuration_signature(configuration),<EOL>included_files=included_files,<EOL>included_files_signature=list(<EOL>map(<EOL>file_signature,<EOL>included_files)),<EOL>declarations=declarations)<EOL>self.__cache[record.key()] = record<EOL>self.__cache[record.key()].was_hit = True<EOL>self.__needs_flushed = True<EOL>
Update a cached record with the current key and value contents.