diff options
| author | 2026-03-29 11:05:46 +0000 | |
|---|---|---|
| committer | 2026-03-29 11:05:46 +0000 | |
| commit | 0109f0903d8e18d110d6b9456f9a1fb4501e62fc (patch) | |
| tree | f1b95c7c64d79fa0dab0251661600a299d8aefcb /object/store/packed/pack.go | |
| parent | object{,/type}: Fix up API shape (diff) | |
| signature | No signature | |
object/type, format/packfile: API cleanups
Diffstat (limited to 'object/store/packed/pack.go')
| -rw-r--r-- | object/store/packed/pack.go | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
