aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-01-19 01:04:52 +0800
committerGravatar Runxi Yu2026-01-19 01:04:52 +0800
commitec5fe2ab6baaf82be1952080bb5a14a8e58d61bb (patch)
tree4c1c7e41c529fb5a131a3005a5357293c78f93ab /internal
parenthash: Document maxHashSize properly (diff)
signatureNo signature
More changes from the import URL update
Diffstat (limited to 'internal')
-rw-r--r--internal/flatex/decompress.go2
-rw-r--r--internal/zlib/reader.go2
-rw-r--r--internal/zlib/writer.go2
-rw-r--r--internal/zlibx/decompress.go6
4 files changed, 6 insertions, 6 deletions
diff --git a/internal/flatex/decompress.go b/internal/flatex/decompress.go
index 641b6e7a..065e23f3 100644
--- a/internal/flatex/decompress.go
+++ b/internal/flatex/decompress.go
@@ -3,7 +3,7 @@ package flatex
import (
"io"
- "git.sr.ht/~runxiyu/furgit/internal/bufpool"
+ "codeberg.org/lindenii/furgit/internal/bufpool"
)
func DecompressSized(src []byte, sizeHint int) (bufpool.Buffer, int, error) {
diff --git a/internal/zlib/reader.go b/internal/zlib/reader.go
index 7602890b..5141b2f6 100644
--- a/internal/zlib/reader.go
+++ b/internal/zlib/reader.go
@@ -41,7 +41,7 @@ import (
"io"
"sync"
- "git.sr.ht/~runxiyu/furgit/internal/adler32"
+ "codeberg.org/lindenii/furgit/internal/adler32"
)
const (
diff --git a/internal/zlib/writer.go b/internal/zlib/writer.go
index 65e96809..14eca474 100644
--- a/internal/zlib/writer.go
+++ b/internal/zlib/writer.go
@@ -11,7 +11,7 @@ import (
"hash"
"io"
- "git.sr.ht/~runxiyu/furgit/internal/adler32"
+ "codeberg.org/lindenii/furgit/internal/adler32"
)
// These constants are copied from the [flate] package, so that code that imports
diff --git a/internal/zlibx/decompress.go b/internal/zlibx/decompress.go
index 9d4e5268..23fae8fa 100644
--- a/internal/zlibx/decompress.go
+++ b/internal/zlibx/decompress.go
@@ -4,9 +4,9 @@ import (
"encoding/binary"
"io"
- "git.sr.ht/~runxiyu/furgit/internal/adler32"
- "git.sr.ht/~runxiyu/furgit/internal/bufpool"
- "git.sr.ht/~runxiyu/furgit/internal/flatex"
+ "codeberg.org/lindenii/furgit/internal/adler32"
+ "codeberg.org/lindenii/furgit/internal/bufpool"
+ "codeberg.org/lindenii/furgit/internal/flatex"
)
func Decompress(src []byte) (bufpool.Buffer, error) {