From 07204c4b1ea56aeb4e236418ed80186b9f27ddf5 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Wed, 27 May 2026 06:15:31 +0000 Subject: Switch module URL to lindenii.org/go/furgit --- object/blob/append.go | 4 ++-- object/blob/type.go | 2 +- object/commit/append.go | 4 ++-- object/commit/commit.go | 4 ++-- object/commit/doc.go | 2 +- object/commit/parse.go | 4 ++-- object/commit/type.go | 2 +- object/doc.go | 2 +- object/header/append.go | 2 +- object/header/parse.go | 2 +- object/id/object_id_test.go | 2 +- object/object.go | 2 +- object/parse.go | 10 +++++----- object/signature/parse.go | 2 +- object/store/doc.go | 2 +- object/store/reader.go | 4 ++-- object/store/writer.go | 6 +++--- 17 files changed, 28 insertions(+), 28 deletions(-) (limited to 'object') diff --git a/object/blob/append.go b/object/blob/append.go index 9d912223..378e4edb 100644 --- a/object/blob/append.go +++ b/object/blob/append.go @@ -1,8 +1,8 @@ package blob import ( - "codeberg.org/lindenii/furgit/object/header" - "codeberg.org/lindenii/furgit/object/typ" + "lindenii.org/go/furgit/object/header" + "lindenii.org/go/furgit/object/typ" ) // AppendWithoutHeader renders the raw blob body bytes. diff --git a/object/blob/type.go b/object/blob/type.go index 1a3f8b16..9669e038 100644 --- a/object/blob/type.go +++ b/object/blob/type.go @@ -1,6 +1,6 @@ package blob -import "codeberg.org/lindenii/furgit/object/typ" +import "lindenii.org/go/furgit/object/typ" // ObjectType returns TypeBlob. func (blob *Blob) ObjectType() typ.Type { diff --git a/object/commit/append.go b/object/commit/append.go index 31031ed1..110d589f 100644 --- a/object/commit/append.go +++ b/object/commit/append.go @@ -3,8 +3,8 @@ package commit import ( "fmt" - "codeberg.org/lindenii/furgit/object/header" - "codeberg.org/lindenii/furgit/object/typ" + "lindenii.org/go/furgit/object/header" + "lindenii.org/go/furgit/object/typ" ) // AppendWithoutHeader renders the raw commit body bytes. diff --git a/object/commit/commit.go b/object/commit/commit.go index e89b5368..f41366b7 100644 --- a/object/commit/commit.go +++ b/object/commit/commit.go @@ -1,8 +1,8 @@ package commit import ( - "codeberg.org/lindenii/furgit/object/id" - "codeberg.org/lindenii/furgit/object/signature" + "lindenii.org/go/furgit/object/id" + "lindenii.org/go/furgit/object/signature" ) // Commit represents a fully materialized Git commit object. diff --git a/object/commit/doc.go b/object/commit/doc.go index 51075f9b..3c287122 100644 --- a/object/commit/doc.go +++ b/object/commit/doc.go @@ -4,5 +4,5 @@ // It does not preserve the exact original byte layout // needed for signature verification; // callers that need signature-verification payload fidelity -// should use [codeberg.org/lindenii/furgit/object/signed/commit]. +// should use [lindenii.org/go/furgit/object/signed/commit]. package commit diff --git a/object/commit/parse.go b/object/commit/parse.go index e5b7a06e..1212423f 100644 --- a/object/commit/parse.go +++ b/object/commit/parse.go @@ -5,8 +5,8 @@ import ( "errors" "fmt" - "codeberg.org/lindenii/furgit/object/id" - "codeberg.org/lindenii/furgit/object/signature" + "lindenii.org/go/furgit/object/id" + "lindenii.org/go/furgit/object/signature" ) // ErrInvalidCommit indicates an attempt to parse an invalid commit. diff --git a/object/commit/type.go b/object/commit/type.go index 065b7174..80715a72 100644 --- a/object/commit/type.go +++ b/object/commit/type.go @@ -1,7 +1,7 @@ package commit import ( - "codeberg.org/lindenii/furgit/object/typ" + "lindenii.org/go/furgit/object/typ" ) // ObjectType returns TypeCommit. diff --git a/object/doc.go b/object/doc.go index 4566ae48..ad251bca 100644 --- a/object/doc.go +++ b/object/doc.go @@ -4,7 +4,7 @@ // Concrete object forms such as // [blob], [tree], [commit], and [tag] // live in subpackages. -// Use [codeberg.org/lindenii/furgit/object/stored] when object values +// Use [lindenii.org/go/furgit/object/stored] when object values // need to be paired with the object IDs // they were loaded under. // diff --git a/object/header/append.go b/object/header/append.go index ede08315..b204002d 100644 --- a/object/header/append.go +++ b/object/header/append.go @@ -4,7 +4,7 @@ import ( "slices" "strconv" - "codeberg.org/lindenii/furgit/object/typ" + "lindenii.org/go/furgit/object/typ" ) // Append appends a canonical loose-object header ("type size\x00") to dst. diff --git a/object/header/parse.go b/object/header/parse.go index 7fb3ed04..cdefe74e 100644 --- a/object/header/parse.go +++ b/object/header/parse.go @@ -5,7 +5,7 @@ import ( "errors" "strconv" - "codeberg.org/lindenii/furgit/object/typ" + "lindenii.org/go/furgit/object/typ" ) var ErrInvalidHeader = errors.New("object/header: invalid header") diff --git a/object/id/object_id_test.go b/object/id/object_id_test.go index c3c22176..5d6130d2 100644 --- a/object/id/object_id_test.go +++ b/object/id/object_id_test.go @@ -5,7 +5,7 @@ import ( "strings" "testing" - "codeberg.org/lindenii/furgit/object/id" + "lindenii.org/go/furgit/object/id" ) func TestFromBytesErrors(t *testing.T) { diff --git a/object/object.go b/object/object.go index 694d55a6..042cb001 100644 --- a/object/object.go +++ b/object/object.go @@ -1,6 +1,6 @@ package object -import "codeberg.org/lindenii/furgit/object/typ" +import "lindenii.org/go/furgit/object/typ" // Object is a Git object. type Object interface { diff --git a/object/parse.go b/object/parse.go index bdb4b39e..cbea09ef 100644 --- a/object/parse.go +++ b/object/parse.go @@ -3,11 +3,11 @@ package object import ( "fmt" - "codeberg.org/lindenii/furgit/object/blob" - "codeberg.org/lindenii/furgit/object/commit" - "codeberg.org/lindenii/furgit/object/header" - "codeberg.org/lindenii/furgit/object/id" - "codeberg.org/lindenii/furgit/object/typ" + "lindenii.org/go/furgit/object/blob" + "lindenii.org/go/furgit/object/commit" + "lindenii.org/go/furgit/object/header" + "lindenii.org/go/furgit/object/id" + "lindenii.org/go/furgit/object/typ" ) // SizeMismatchError indicates a mismatch diff --git a/object/signature/parse.go b/object/signature/parse.go index 30cb1866..9179482c 100644 --- a/object/signature/parse.go +++ b/object/signature/parse.go @@ -5,7 +5,7 @@ import ( "errors" "strconv" - "codeberg.org/lindenii/furgit/internal/intconv" + "lindenii.org/go/furgit/internal/intconv" ) // ErrInvalidSignature indicates an attempt to parse an invalid signature. diff --git a/object/store/doc.go b/object/store/doc.go index 23a8951f..f186f39f 100644 --- a/object/store/doc.go +++ b/object/store/doc.go @@ -4,7 +4,7 @@ // in terms of headers (type and size), raw bytes, and streaming payloads, // but they do not parse commits, trees, blobs, or tags into typed values. // Turning stored objects into typed objects -// is the job of [codeberg.org/lindenii/furgit/object/fetch]. +// is the job of [lindenii.org/go/furgit/object/fetch]. // // This package does not define one unified writing interface. // Backends have very different write models: diff --git a/object/store/reader.go b/object/store/reader.go index b4df5081..b1867791 100644 --- a/object/store/reader.go +++ b/object/store/reader.go @@ -4,8 +4,8 @@ import ( "errors" "io" - "codeberg.org/lindenii/furgit/object/id" - "codeberg.org/lindenii/furgit/object/typ" + "lindenii.org/go/furgit/object/id" + "lindenii.org/go/furgit/object/typ" ) // ObjectReader reads Git objects by object ID. diff --git a/object/store/writer.go b/object/store/writer.go index ca32d7f4..73999d67 100644 --- a/object/store/writer.go +++ b/object/store/writer.go @@ -3,9 +3,9 @@ package store import ( "io" - "codeberg.org/lindenii/furgit/common/iowrap" - "codeberg.org/lindenii/furgit/object/id" - "codeberg.org/lindenii/furgit/object/typ" + "lindenii.org/go/furgit/common/iowrap" + "lindenii.org/go/furgit/object/id" + "lindenii.org/go/furgit/object/typ" ) // ObjectWriter writes individual Git objects. -- cgit v1.3.1-10-gc9f91