aboutsummaryrefslogtreecommitdiff
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
parenthash: Document maxHashSize properly (diff)
signatureNo signature
More changes from the import URL update
-rw-r--r--README.md2
-rw-r--r--cmd/show-object/main.go2
-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
-rw-r--r--loose.go6
-rw-r--r--pack_pack.go4
-rw-r--r--repo.go2
9 files changed, 14 insertions, 14 deletions
diff --git a/README.md b/README.md
index 4e1c1c34..bd35eba8 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
# Furgit
[![builds.sr.ht status](https://builds.sr.ht/~runxiyu/furgit.svg)](https://builds.sr.ht/~runxiyu/furgit)
-[![Go Reference](https://pkg.go.dev/badge/git.sr.ht/~runxiyu/furgit.svg)](https://pkg.go.dev/git.sr.ht/~runxiyu/furgit)
+[![Go Reference](https://pkg.go.dev/badge/codeberg.org/lindenii/furgit.svg)](https://pkg.go.dev/codeberg.org/lindenii/furgit)
Furgit is a fast Git library in pure Go
(and a little bit of optional Go Assembly).
diff --git a/cmd/show-object/main.go b/cmd/show-object/main.go
index d33f8d1b..4eb5ec9d 100644
--- a/cmd/show-object/main.go
+++ b/cmd/show-object/main.go
@@ -5,7 +5,7 @@ import (
"fmt"
"log"
- "git.sr.ht/~runxiyu/furgit"
+ "codeberg.org/lindenii/furgit"
)
func main() {
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) {
diff --git a/loose.go b/loose.go
index 5932f92f..8f8d12a8 100644
--- a/loose.go
+++ b/loose.go
@@ -8,9 +8,9 @@ import (
"path/filepath"
"strconv"
- "git.sr.ht/~runxiyu/furgit/internal/bufpool"
- "git.sr.ht/~runxiyu/furgit/internal/zlib"
- "git.sr.ht/~runxiyu/furgit/internal/zlibx"
+ "codeberg.org/lindenii/furgit/internal/bufpool"
+ "codeberg.org/lindenii/furgit/internal/zlib"
+ "codeberg.org/lindenii/furgit/internal/zlibx"
)
const looseHeaderLimit = 4096
diff --git a/pack_pack.go b/pack_pack.go
index d91abf84..6e0806b1 100644
--- a/pack_pack.go
+++ b/pack_pack.go
@@ -8,8 +8,8 @@ import (
"sync"
"syscall"
- "git.sr.ht/~runxiyu/furgit/internal/bufpool"
- "git.sr.ht/~runxiyu/furgit/internal/zlibx"
+ "codeberg.org/lindenii/furgit/internal/bufpool"
+ "codeberg.org/lindenii/furgit/internal/zlibx"
)
const (
diff --git a/repo.go b/repo.go
index 5481a0fc..8c0cd95e 100644
--- a/repo.go
+++ b/repo.go
@@ -7,7 +7,7 @@ import (
"path/filepath"
"sync"
- "git.sr.ht/~runxiyu/furgit/config"
+ "codeberg.org/lindenii/furgit/config"
)
// Repository represents a Git repository.