diff options
Diffstat (limited to 'format/packfile/header.go')
| -rw-r--r-- | format/packfile/header.go | 4 |
1 files changed, 2 insertions, 2 deletions
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 } |
