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 --- object/store/packed/pack.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'object/store/packed/pack.go') diff --git a/object/store/packed/pack.go b/object/store/packed/pack.go index 5abc6c15..928ced70 100644 --- a/object/store/packed/pack.go +++ b/object/store/packed/pack.go @@ -47,7 +47,7 @@ func openPackFile(name string, file *os.File, size int64) (*packFile, error) { } version := binary.BigEndian.Uint32(data[4:8]) - if !packfmt.VersionSupported(version) { + if !packfmt.SupportedVersion(version) { _ = syscall.Munmap(data) return nil, fmt.Errorf("objectstore/packed: pack %q unsupported version %d", name, version) -- cgit v1.3.1-10-gc9f91