From 0109f0903d8e18d110d6b9456f9a1fb4501e62fc Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 29 Mar 2026 11:05:46 +0000 Subject: object/type, format/packfile: API cleanups --- format/packfile/header.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'format/packfile/header.go') diff --git a/format/packfile/header.go b/format/packfile/header.go index bc859a55..5f4e4508 100644 --- a/format/packfile/header.go +++ b/format/packfile/header.go @@ -3,7 +3,7 @@ package packfile // Signature is the 4-byte "PACK" magic at the start of pack files. const Signature = 0x5041434b -// VersionSupported reports whether one pack version is supported. -func VersionSupported(version uint32) bool { +// SupportedVersion reports whether one pack version is supported. +func SupportedVersion(version uint32) bool { return version == 2 || version == 3 } -- cgit v1.3.1-10-gc9f91