diff options
| author | 2026-03-29 11:05:46 +0000 | |
|---|---|---|
| committer | 2026-03-29 11:05:46 +0000 | |
| commit | 0109f0903d8e18d110d6b9456f9a1fb4501e62fc (patch) | |
| tree | f1b95c7c64d79fa0dab0251661600a299d8aefcb /format/packfile/ingest/header.go | |
| parent | object{,/type}: Fix up API shape (diff) | |
| signature | No signature | |
object/type, format/packfile: API cleanups
Diffstat (limited to 'format/packfile/ingest/header.go')
| -rw-r--r-- | format/packfile/ingest/header.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/format/packfile/ingest/header.go b/format/packfile/ingest/header.go index 6a214828..5fae4c41 100644 --- a/format/packfile/ingest/header.go +++ b/format/packfile/ingest/header.go @@ -36,7 +36,7 @@ func parseAndValidatePackHeader(hdr [packHeaderSize]byte) (HeaderInfo, error) { } version := binary.BigEndian.Uint32(hdr[4:8]) - if !packfile.VersionSupported(version) { + if !packfile.SupportedVersion(version) { return HeaderInfo{}, &InvalidPackHeaderError{ Reason: fmt.Sprintf("unsupported version %d", version), } |
