diff options
| author | 2025-11-19 08:00:00 +0800 | |
|---|---|---|
| committer | 2025-11-19 08:00:00 +0800 | |
| commit | 3462ca0e8e2089faab781d514cbbf1a86a0f3f92 (patch) | |
| tree | 8c8185e6d793fe08f7ed75b20918b6873bbf25cd /internal/zlib | |
| parent | README: Mention the zlib branch (diff) | |
| signature | No signature | |
Import flate
Diffstat (limited to 'internal/zlib')
| -rw-r--r-- | internal/zlib/reader.go | 3 | ||||
| -rw-r--r-- | internal/zlib/writer.go | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/internal/zlib/reader.go b/internal/zlib/reader.go index 22b2b74b..45d3087c 100644 --- a/internal/zlib/reader.go +++ b/internal/zlib/reader.go @@ -34,13 +34,14 @@ package zlib import ( "bufio" - "compress/flate" "encoding/binary" "errors" "hash" "hash/adler32" "io" "sync" + + "git.sr.ht/~runxiyu/furgit/internal/flate" ) const ( diff --git a/internal/zlib/writer.go b/internal/zlib/writer.go index 93537268..bc468716 100644 --- a/internal/zlib/writer.go +++ b/internal/zlib/writer.go @@ -5,12 +5,13 @@ package zlib import ( - "compress/flate" "encoding/binary" "fmt" "hash" "hash/adler32" "io" + + "git.sr.ht/~runxiyu/furgit/internal/flate" ) // These constants are copied from the [flate] package, so that code that imports |
