The code that makes the entries of the snapshot cache (read_cached_commits): the full snapshot (definy.decode-stored-snapshot), the light summary (definy.decode-stored-snapshot-summary, definy.snapshot-cache-entry-summary) and the entry type. Only its definitions are used, for definy.snapshot-cache-version