aboutsummaryrefslogtreecommitdiff
path: root/object/tree
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-05-27 06:14:54 +0000
committerGravatar Runxi Yu2026-05-27 06:14:54 +0000
commitc1122079bf6ebf1ef0db2ee5048e134c9ee9a850 (patch)
tree46ce23f979dfd2a0121aff7c2be03adcad99ac4a /object/tree
parentREADME: Use next's (diff)
signatureNo signature
Switch package URLs to lindenii.org/go/furgit v0.1.178
Diffstat (limited to 'object/tree')
-rw-r--r--object/tree/entry.go2
-rw-r--r--object/tree/helpers_test.go4
-rw-r--r--object/tree/parse.go2
-rw-r--r--object/tree/parse_test.go6
-rw-r--r--object/tree/serialize.go4
-rw-r--r--object/tree/serialize_test.go6
-rw-r--r--object/tree/type.go2
7 files changed, 13 insertions, 13 deletions
diff --git a/object/tree/entry.go b/object/tree/entry.go
index b3089b74..3c96d6b5 100644
--- a/object/tree/entry.go
+++ b/object/tree/entry.go
@@ -4,7 +4,7 @@ import (
"bytes"
"slices"
- objectid "codeberg.org/lindenii/furgit/object/id"
+ objectid "lindenii.org/go/furgit/object/id"
)
// TreeEntry represents a single entry in a tree.
diff --git a/object/tree/helpers_test.go b/object/tree/helpers_test.go
index 3da92ce4..0344183a 100644
--- a/object/tree/helpers_test.go
+++ b/object/tree/helpers_test.go
@@ -6,8 +6,8 @@ import (
"strings"
"testing"
- "codeberg.org/lindenii/furgit/internal/testgit"
- "codeberg.org/lindenii/furgit/object/tree"
+ "lindenii.org/go/furgit/internal/testgit"
+ "lindenii.org/go/furgit/object/tree"
)
func buildGitMktreeInput(entries []tree.TreeEntry) string {
diff --git a/object/tree/parse.go b/object/tree/parse.go
index bb874828..8a649fa5 100644
--- a/object/tree/parse.go
+++ b/object/tree/parse.go
@@ -5,7 +5,7 @@ import (
"fmt"
"strconv"
- objectid "codeberg.org/lindenii/furgit/object/id"
+ objectid "lindenii.org/go/furgit/object/id"
)
// Parse decodes a tree object body into a fully materialized Tree.
diff --git a/object/tree/parse_test.go b/object/tree/parse_test.go
index 2b98ede7..b1602433 100644
--- a/object/tree/parse_test.go
+++ b/object/tree/parse_test.go
@@ -4,9 +4,9 @@ import (
"bytes"
"testing"
- "codeberg.org/lindenii/furgit/internal/testgit"
- objectid "codeberg.org/lindenii/furgit/object/id"
- "codeberg.org/lindenii/furgit/object/tree"
+ "lindenii.org/go/furgit/internal/testgit"
+ objectid "lindenii.org/go/furgit/object/id"
+ "lindenii.org/go/furgit/object/tree"
)
func TestTreeParseFromGit(t *testing.T) {
diff --git a/object/tree/serialize.go b/object/tree/serialize.go
index 922cd145..9eed9c68 100644
--- a/object/tree/serialize.go
+++ b/object/tree/serialize.go
@@ -4,8 +4,8 @@ import (
"errors"
"strconv"
- objectheader "codeberg.org/lindenii/furgit/object/header"
- objecttype "codeberg.org/lindenii/furgit/object/type"
+ objectheader "lindenii.org/go/furgit/object/header"
+ objecttype "lindenii.org/go/furgit/object/type"
)
// BytesWithoutHeader renders the raw tree body bytes.
diff --git a/object/tree/serialize_test.go b/object/tree/serialize_test.go
index f7bc64b6..dfad3c5d 100644
--- a/object/tree/serialize_test.go
+++ b/object/tree/serialize_test.go
@@ -3,9 +3,9 @@ package tree_test
import (
"testing"
- "codeberg.org/lindenii/furgit/internal/testgit"
- objectid "codeberg.org/lindenii/furgit/object/id"
- "codeberg.org/lindenii/furgit/object/tree"
+ "lindenii.org/go/furgit/internal/testgit"
+ objectid "lindenii.org/go/furgit/object/id"
+ "lindenii.org/go/furgit/object/tree"
)
func TestTreeSerialize(t *testing.T) {
diff --git a/object/tree/type.go b/object/tree/type.go
index 416544af..1db48661 100644
--- a/object/tree/type.go
+++ b/object/tree/type.go
@@ -1,6 +1,6 @@
package tree
-import objecttype "codeberg.org/lindenii/furgit/object/type"
+import objecttype "lindenii.org/go/furgit/object/type"
// ObjectType returns TypeTree.
func (tree *Tree) ObjectType() objecttype.Type {