diff options
| author | 2025-11-19 08:00:00 +0800 | |
|---|---|---|
| committer | 2025-11-19 08:00:00 +0800 | |
| commit | ed0a113f034aa42aea23471c4bc0d7af159b7002 (patch) | |
| tree | 7e828011b9e213499ce382eb17e2552da6e48de4 /pack_pack.go | |
| parent | Remove some redundant code (diff) | |
| signature | No signature | |
Probably should name the custom packages specially
Diffstat (limited to 'pack_pack.go')
| -rw-r--r-- | pack_pack.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pack_pack.go b/pack_pack.go index 5d0f13ac..2f9cd513 100644 --- a/pack_pack.go +++ b/pack_pack.go @@ -11,9 +11,8 @@ import ( "sync" "syscall" - "git.sr.ht/~runxiyu/furgit/internal/zlib" - "git.sr.ht/~runxiyu/furgit/internal/bufpool" + "git.sr.ht/~runxiyu/furgit/internal/zlibx" ) const ( @@ -127,7 +126,7 @@ func packSectionInflate(pf *packFile, objectOfs uint64, r *bytes.Reader, sizeHin if int64(consumed) < 0 || start > uint64(len(pf.data)) { return bufpool.Buffer{}, ErrInvalidObject } - body, err := zlib.Decompress(pf.data[start:]) + body, err := zlibx.Decompress(pf.data[start:]) if err != nil { return bufpool.Buffer{}, err } |
