package fixtures

// scannerEntries maps packfile hashes to their expected scanner output,
// ordered by pack stream offset.
//
//nolint:gochecknoglobals
var scannerEntries = map[string][]ScannerEntry{
	// basic.git ofs-delta (sha1)
	"a3fed42da1e8189a077c0e6846c040dcf73fc9dd": {
		{Type: 1, Offset: 12, Size: 254, Hash: "e8d3ffab552895c19b9fcf7aa264d277cde33881", Reference: "", OffsetReference: 0, CRC32: 0xaa07ba4b},
		{Type: 6, Offset: 186, Size: 93, Hash: "", Reference: "", OffsetReference: 12, CRC32: 0xf706df58},
		{Type: 1, Offset: 286, Size: 242, Hash: "918c48b83bd081e863dbe1b80f8998f058cd8294", Reference: "", OffsetReference: 0, CRC32: 0x12438846},
		{Type: 1, Offset: 449, Size: 242, Hash: "af2d6a6954d532f8ffb47615169c8fdf9d383a1a", Reference: "", OffsetReference: 0, CRC32: 0x2905a38c},
		{Type: 1, Offset: 615, Size: 333, Hash: "1669dce138d9b841a518c64b10914d88f5e488ea", Reference: "", OffsetReference: 0, CRC32: 0xd9429436},
		{Type: 1, Offset: 838, Size: 332, Hash: "a5b8b09e2f8fcb0bb99d3ccb0958157b40890d69", Reference: "", OffsetReference: 0, CRC32: 0xbecfde4e},
		{Type: 1, Offset: 1063, Size: 244, Hash: "35e85108805c84807bc66a02d91535e1e24b38b9", Reference: "", OffsetReference: 0, CRC32: 0x780e4b3e},
		{Type: 1, Offset: 1230, Size: 243, Hash: "b8e471f58bcbca63b07bda20e428190409c2db47", Reference: "", OffsetReference: 0, CRC32: 0xdc18344f},
		{Type: 1, Offset: 1392, Size: 187, Hash: "b029517f6300c2da0f4b651b8642506cd6aaf45d", Reference: "", OffsetReference: 0, CRC32: 0xcf4e4280},
		{Type: 3, Offset: 1524, Size: 189, Hash: "32858aad3c383ed1ff0a0f9bdf231d54a00c9e88", Reference: "", OffsetReference: 0, CRC32: 0x1f08118a},
		{Type: 3, Offset: 1685, Size: 18, Hash: "d3ff53e0564a9f87d8e84b6e28e5060e517008aa", Reference: "", OffsetReference: 0, CRC32: 0xafded7b8},
		{Type: 3, Offset: 1713, Size: 1072, Hash: "c192bd6a24ea1ab01d78686e417c8bdc7c3d197f", Reference: "", OffsetReference: 0, CRC32: 0xcc1428ed},
		{Type: 3, Offset: 2351, Size: 76110, Hash: "d5c0f4ab811897cadf03aec358ae60d21f91c50d", Reference: "", OffsetReference: 0, CRC32: 0x1631d22f},
		{Type: 3, Offset: 78050, Size: 2780, Hash: "880cd14280f4b9b6ed3986d6671f907d7cc2a198", Reference: "", OffsetReference: 0, CRC32: 0xbfff5850},
		{Type: 3, Offset: 78882, Size: 217848, Hash: "49c6bb89b17060d7b4deacb7b338fcc6ea2352a9", Reference: "", OffsetReference: 0, CRC32: 0xd108e1d8},
		{Type: 3, Offset: 80725, Size: 706, Hash: "c8f1d8c61f9da76f4cb49fd86322b6e685dba956", Reference: "", OffsetReference: 0, CRC32: 0x8e97ba25},
		{Type: 3, Offset: 80998, Size: 11488, Hash: "9a48f23120e880dfbe41f7c9b7b708e9ee62a492", Reference: "", OffsetReference: 0, CRC32: 0x7316ff70},
		{Type: 3, Offset: 84032, Size: 78, Hash: "9dea2395f5403188298c1dabe8bdafe562c491e3", Reference: "", OffsetReference: 0, CRC32: 0xdb4fce56},
		{Type: 2, Offset: 84115, Size: 272, Hash: "dbd3641b371024f44d0e469a9c8f5457b0660de1", Reference: "", OffsetReference: 0, CRC32: 0x901cce2c},
		{Type: 6, Offset: 84375, Size: 43, Hash: "", Reference: "", OffsetReference: 84115, CRC32: 0xec4552b0},
		{Type: 2, Offset: 84430, Size: 38, Hash: "a39771a7651f97faf5c72e08224d857fc35133db", Reference: "", OffsetReference: 0, CRC32: 0x847905bf},
		{Type: 2, Offset: 84479, Size: 75, Hash: "5a877e6a906a2743ad6e45d99c1793642aaf8eda", Reference: "", OffsetReference: 0, CRC32: 0x3689459a},
		{Type: 2, Offset: 84559, Size: 38, Hash: "586af567d0bb5e771e49bdd9434f5e0fb76d25fa", Reference: "", OffsetReference: 0, CRC32: 0xe67af94a},
		{Type: 2, Offset: 84608, Size: 34, Hash: "cf4aa3b38974fb7d81f367c0830f7d78d65ab86b", Reference: "", OffsetReference: 0, CRC32: 0xc2314a2e},
		{Type: 3, Offset: 84653, Size: 9, Hash: "7e59600739c96546163833214c36459e324bad0a", Reference: "", OffsetReference: 0, CRC32: 0xcd987848},
		{Type: 6, Offset: 84671, Size: 6, Hash: "", Reference: "", OffsetReference: 84375, CRC32: 0x8a853a6d},
		{Type: 6, Offset: 84688, Size: 9, Hash: "", Reference: "", OffsetReference: 84375, CRC32: 0x70c6518},
		{Type: 6, Offset: 84708, Size: 6, Hash: "", Reference: "", OffsetReference: 84375, CRC32: 0x4f4108e2},
		{Type: 6, Offset: 84725, Size: 5, Hash: "", Reference: "", OffsetReference: 84115, CRC32: 0xd6fe09e9},
		{Type: 6, Offset: 84741, Size: 8, Hash: "", Reference: "", OffsetReference: 84375, CRC32: 0xf07a2804},
		{Type: 6, Offset: 84760, Size: 4, Hash: "", Reference: "", OffsetReference: 84741, CRC32: 0x1d75d6be},
	},
	// basic.git ref-delta (sha1)
	"c544593473465e6315ad4182d04d366c4592b829": {
		{Type: 1, Offset: 12, Size: 254, Hash: "e8d3ffab552895c19b9fcf7aa264d277cde33881", Reference: "", OffsetReference: 0, CRC32: 0xaa07ba4b},
		{Type: 7, Offset: 186, Size: 93, Hash: "", Reference: "e8d3ffab552895c19b9fcf7aa264d277cde33881", OffsetReference: 0, CRC32: 0xfb4725a4},
		{Type: 1, Offset: 304, Size: 242, Hash: "918c48b83bd081e863dbe1b80f8998f058cd8294", Reference: "", OffsetReference: 0, CRC32: 0x12438846},
		{Type: 1, Offset: 467, Size: 242, Hash: "af2d6a6954d532f8ffb47615169c8fdf9d383a1a", Reference: "", OffsetReference: 0, CRC32: 0x2905a38c},
		{Type: 1, Offset: 633, Size: 333, Hash: "1669dce138d9b841a518c64b10914d88f5e488ea", Reference: "", OffsetReference: 0, CRC32: 0xd9429436},
		{Type: 1, Offset: 856, Size: 332, Hash: "a5b8b09e2f8fcb0bb99d3ccb0958157b40890d69", Reference: "", OffsetReference: 0, CRC32: 0xbecfde4e},
		{Type: 1, Offset: 1081, Size: 243, Hash: "b8e471f58bcbca63b07bda20e428190409c2db47", Reference: "", OffsetReference: 0, CRC32: 0xdc18344f},
		{Type: 1, Offset: 1243, Size: 244, Hash: "35e85108805c84807bc66a02d91535e1e24b38b9", Reference: "", OffsetReference: 0, CRC32: 0x780e4b3e},
		{Type: 1, Offset: 1410, Size: 187, Hash: "b029517f6300c2da0f4b651b8642506cd6aaf45d", Reference: "", OffsetReference: 0, CRC32: 0xcf4e4280},
		{Type: 3, Offset: 1542, Size: 189, Hash: "32858aad3c383ed1ff0a0f9bdf231d54a00c9e88", Reference: "", OffsetReference: 0, CRC32: 0x1f08118a},
		{Type: 3, Offset: 1703, Size: 18, Hash: "d3ff53e0564a9f87d8e84b6e28e5060e517008aa", Reference: "", OffsetReference: 0, CRC32: 0xafded7b8},
		{Type: 3, Offset: 1731, Size: 1072, Hash: "c192bd6a24ea1ab01d78686e417c8bdc7c3d197f", Reference: "", OffsetReference: 0, CRC32: 0xcc1428ed},
		{Type: 3, Offset: 2369, Size: 76110, Hash: "d5c0f4ab811897cadf03aec358ae60d21f91c50d", Reference: "", OffsetReference: 0, CRC32: 0x1631d22f},
		{Type: 2, Offset: 78068, Size: 38, Hash: "a39771a7651f97faf5c72e08224d857fc35133db", Reference: "", OffsetReference: 0, CRC32: 0x847905bf},
		{Type: 3, Offset: 78117, Size: 2780, Hash: "880cd14280f4b9b6ed3986d6671f907d7cc2a198", Reference: "", OffsetReference: 0, CRC32: 0x3e20f31d},
		{Type: 2, Offset: 79049, Size: 75, Hash: "5a877e6a906a2743ad6e45d99c1793642aaf8eda", Reference: "", OffsetReference: 0, CRC32: 0x3689459a},
		{Type: 3, Offset: 79129, Size: 217848, Hash: "49c6bb89b17060d7b4deacb7b338fcc6ea2352a9", Reference: "", OffsetReference: 0, CRC32: 0xd108e1d8},
		{Type: 3, Offset: 80972, Size: 706, Hash: "c8f1d8c61f9da76f4cb49fd86322b6e685dba956", Reference: "", OffsetReference: 0, CRC32: 0x71143d4a},
		{Type: 2, Offset: 81265, Size: 38, Hash: "586af567d0bb5e771e49bdd9434f5e0fb76d25fa", Reference: "", OffsetReference: 0, CRC32: 0xe67af94a},
		{Type: 3, Offset: 81314, Size: 11488, Hash: "9a48f23120e880dfbe41f7c9b7b708e9ee62a492", Reference: "", OffsetReference: 0, CRC32: 0x739fb89f},
		{Type: 2, Offset: 84752, Size: 34, Hash: "cf4aa3b38974fb7d81f367c0830f7d78d65ab86b", Reference: "", OffsetReference: 0, CRC32: 0xc2314a2e},
		{Type: 3, Offset: 84797, Size: 78, Hash: "9dea2395f5403188298c1dabe8bdafe562c491e3", Reference: "", OffsetReference: 0, CRC32: 0x87864926},
		{Type: 2, Offset: 84880, Size: 271, Hash: "a8d315b2b1c615d43042c3a62402b8a54288cf5c", Reference: "", OffsetReference: 0, CRC32: 0x415d752f},
		{Type: 7, Offset: 85141, Size: 6, Hash: "", Reference: "a8d315b2b1c615d43042c3a62402b8a54288cf5c", OffsetReference: 0, CRC32: 0xf72fb182},
		{Type: 7, Offset: 85176, Size: 37, Hash: "", Reference: "fb72698cab7617ac416264415f13224dfd7a165e", OffsetReference: 0, CRC32: 0x3ffa37d4},
		{Type: 3, Offset: 85244, Size: 9, Hash: "7e59600739c96546163833214c36459e324bad0a", Reference: "", OffsetReference: 0, CRC32: 0xcd987848},
		{Type: 7, Offset: 85262, Size: 9, Hash: "", Reference: "fb72698cab7617ac416264415f13224dfd7a165e", OffsetReference: 0, CRC32: 0x2f20ac8f},
		{Type: 7, Offset: 85300, Size: 6, Hash: "", Reference: "fb72698cab7617ac416264415f13224dfd7a165e", OffsetReference: 0, CRC32: 0xf2f0575},
		{Type: 2, Offset: 85335, Size: 110, Hash: "c2d30fa8ef288618f65f6eed6e168e0d514886f4", Reference: "", OffsetReference: 0, CRC32: 0x7d8726e1},
		{Type: 7, Offset: 85448, Size: 8, Hash: "", Reference: "eba74343e2f15d62adedfd8c883ee0262b5c8021", OffsetReference: 0, CRC32: 0x740bf39},
		{Type: 2, Offset: 85485, Size: 73, Hash: "aa9b383c260e1d05fbbf6b30a02914555e20c725", Reference: "", OffsetReference: 0, CRC32: 0x26af4735},
	},
	// sha256 ofs-delta
	"407497645643e18a7ba56c6132603f167fe9c51c00361ee0c81d74a8f55d0ee2": {
		{Type: 1, Offset: 12, Size: 685, Hash: "233fbe36fbc685c391d6e48049c1e6558a6742dba527281d02896bcba43a8950", Reference: "", OffsetReference: 0, CRC32: 0x6f83ea11},
		{Type: 6, Offset: 459, Size: 227, Hash: "", Reference: "", OffsetReference: 12, CRC32: 0x83e66670},
		{Type: 3, Offset: 687, Size: 47, Hash: "757ba6c738cdd774ea77094c52350acb8de989889a63f90972702ff6c5df69d4", Reference: "", OffsetReference: 0, CRC32: 0xd3753b86},
		{Type: 2, Offset: 737, Size: 49, Hash: "a3490718a0b0e8564981306fcfb3c8e5e5b8dd4c00d477d635350c92c542e15c", Reference: "", OffsetReference: 0, CRC32: 0x69640927},
		{Type: 2, Offset: 797, Size: 49, Hash: "fc90aec557362385e83d1f2046e2f8c2d52fdaeb5ba570a5f82b403e12340370", Reference: "", OffsetReference: 0, CRC32: 0xe11ef7d6},
		{Type: 3, Offset: 857, Size: 9, Hash: "1f307724f91af43be1570b77aeef69c5010e8136e50bef83c28de2918a08f494", Reference: "", OffsetReference: 0, CRC32: 0xcd987848},
	},
}
