shithub: furgit

Download patch

ref: b7fefa848ff5d80401e12b4eb8ee4fbea9e44fd3
parent: 5e26980abad6374917aafad7e6c8120cd2e55d63
author: Runxi Yu <me@runxiyu.org>
date: Sun Feb 22 06:38:41 EST 2026

zlib: Use internal adler32

--- a/internal/zlib/reader.go
+++ b/internal/zlib/reader.go
@@ -38,9 +38,10 @@
 	"encoding/binary"
 	"errors"
 	"hash"
-	"hash/adler32"
 	"io"
 	"sync"
+
+	"codeberg.org/lindenii/furgit/internal/adler32"
 
 	"github.com/klauspost/compress/flate"
 )
--- a/internal/zlib/writer.go
+++ b/internal/zlib/writer.go
@@ -8,9 +8,10 @@
 	"encoding/binary"
 	"fmt"
 	"hash"
-	"hash/adler32"
 	"io"
 	"sync"
+
+	"codeberg.org/lindenii/furgit/internal/adler32"
 
 	"github.com/klauspost/compress/flate"
 )
--