From c1122079bf6ebf1ef0db2ee5048e134c9ee9a850 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Wed, 27 May 2026 06:14:54 +0000 Subject: Switch package URLs to lindenii.org/go/furgit --- ref/store/batch.go | 2 +- ref/store/chain/chain.go | 2 +- ref/store/chain/list.go | 2 +- ref/store/chain/new.go | 2 +- ref/store/chain/resolve.go | 4 ++-- ref/store/files/batch.go | 2 +- ref/store/files/batch_apply.go | 2 +- ref/store/files/batch_begin.go | 2 +- ref/store/files/batch_queue_ops.go | 2 +- ref/store/files/batch_rejection.go | 2 +- ref/store/files/batch_test.go | 6 +++--- ref/store/files/helpers_test.go | 6 +++--- ref/store/files/new.go | 2 +- ref/store/files/packed_delete_test.go | 6 +++--- ref/store/files/packed_parse.go | 4 ++-- ref/store/files/packed_read.go | 2 +- ref/store/files/packed_refs.go | 2 +- ref/store/files/read_list.go | 4 ++-- ref/store/files/read_loose.go | 6 +++--- ref/store/files/read_resolve.go | 4 ++-- ref/store/files/read_resolve_fully.go | 2 +- ref/store/files/resolve_list_test.go | 6 +++--- ref/store/files/root_loose_path.go | 2 +- ref/store/files/store.go | 4 ++-- ref/store/files/transaction.go | 2 +- ref/store/files/transaction_begin.go | 2 +- ref/store/files/transaction_dirs_test.go | 4 ++-- ref/store/files/transaction_names_test.go | 8 ++++---- ref/store/files/transaction_pseudoref_test.go | 6 +++--- ref/store/files/transaction_queue_ops.go | 2 +- ref/store/files/transaction_symbolic_test.go | 6 +++--- ref/store/files/transaction_update_test.go | 8 ++++---- ref/store/files/update_direct_read.go | 6 +++--- ref/store/files/update_direct_ref.go | 2 +- ref/store/files/update_operation_queue.go | 2 +- ref/store/files/update_prepare_resolve.go | 2 +- ref/store/files/update_resolve_target_ordinary.go | 2 +- ref/store/files/update_validate.go | 6 +++--- ref/store/files/update_verify_current.go | 2 +- ref/store/files/update_verify_refnames.go | 2 +- ref/store/files/worktree_test.go | 6 +++--- ref/store/memory/batch.go | 4 ++-- ref/store/memory/read.go | 4 ++-- ref/store/memory/ref.go | 2 +- ref/store/memory/store.go | 4 ++-- ref/store/memory/store_test.go | 10 +++++----- ref/store/memory/transaction.go | 4 ++-- ref/store/memory/update.go | 6 +++--- ref/store/reading.go | 2 +- ref/store/transaction.go | 2 +- 50 files changed, 92 insertions(+), 92 deletions(-) (limited to 'ref/store') diff --git a/ref/store/batch.go b/ref/store/batch.go index 11423cec..27b9fef4 100644 --- a/ref/store/batch.go +++ b/ref/store/batch.go @@ -1,6 +1,6 @@ package refstore -import objectid "codeberg.org/lindenii/furgit/object/id" +import objectid "lindenii.org/go/furgit/object/id" // Batch stages reference operations for one non-atomic apply. // diff --git a/ref/store/chain/chain.go b/ref/store/chain/chain.go index a332f64c..21cebe65 100644 --- a/ref/store/chain/chain.go +++ b/ref/store/chain/chain.go @@ -2,7 +2,7 @@ // of backends. package chain -import refstore "codeberg.org/lindenii/furgit/ref/store" +import refstore "lindenii.org/go/furgit/ref/store" // Chain queries multiple reference stores in order. // diff --git a/ref/store/chain/list.go b/ref/store/chain/list.go index c577ca85..8fb817ae 100644 --- a/ref/store/chain/list.go +++ b/ref/store/chain/list.go @@ -3,7 +3,7 @@ package chain import ( "fmt" - "codeberg.org/lindenii/furgit/ref" + "lindenii.org/go/furgit/ref" ) // List lists references from every backend and deduplicates by ref name. diff --git a/ref/store/chain/new.go b/ref/store/chain/new.go index 1c8a3a28..7f226dd4 100644 --- a/ref/store/chain/new.go +++ b/ref/store/chain/new.go @@ -1,6 +1,6 @@ package chain -import refstore "codeberg.org/lindenii/furgit/ref/store" +import refstore "lindenii.org/go/furgit/ref/store" // New creates an ordered reference store chain. // diff --git a/ref/store/chain/resolve.go b/ref/store/chain/resolve.go index 06c3d8f5..96010a84 100644 --- a/ref/store/chain/resolve.go +++ b/ref/store/chain/resolve.go @@ -4,8 +4,8 @@ import ( "errors" "fmt" - "codeberg.org/lindenii/furgit/ref" - refstore "codeberg.org/lindenii/furgit/ref/store" + "lindenii.org/go/furgit/ref" + refstore "lindenii.org/go/furgit/ref/store" ) // Resolve resolves a reference from the first backend that has it. diff --git a/ref/store/files/batch.go b/ref/store/files/batch.go index d8037bbb..6f8fa2a3 100644 --- a/ref/store/files/batch.go +++ b/ref/store/files/batch.go @@ -1,6 +1,6 @@ package files -import refstore "codeberg.org/lindenii/furgit/ref/store" +import refstore "lindenii.org/go/furgit/ref/store" // Batch stages files-store updates for one non-atomic apply. type Batch struct { diff --git a/ref/store/files/batch_apply.go b/ref/store/files/batch_apply.go index 1847b544..3c8a68b3 100644 --- a/ref/store/files/batch_apply.go +++ b/ref/store/files/batch_apply.go @@ -1,6 +1,6 @@ package files -import refstore "codeberg.org/lindenii/furgit/ref/store" +import refstore "lindenii.org/go/furgit/ref/store" // Apply validates and applies the queued updates. func (batch *Batch) Apply() ([]refstore.BatchResult, error) { diff --git a/ref/store/files/batch_begin.go b/ref/store/files/batch_begin.go index c8a0dca7..2f0a365e 100644 --- a/ref/store/files/batch_begin.go +++ b/ref/store/files/batch_begin.go @@ -1,6 +1,6 @@ package files -import refstore "codeberg.org/lindenii/furgit/ref/store" +import refstore "lindenii.org/go/furgit/ref/store" // BeginBatch creates one new files batch. // diff --git a/ref/store/files/batch_queue_ops.go b/ref/store/files/batch_queue_ops.go index 441bcaba..429229aa 100644 --- a/ref/store/files/batch_queue_ops.go +++ b/ref/store/files/batch_queue_ops.go @@ -1,6 +1,6 @@ package files -import objectid "codeberg.org/lindenii/furgit/object/id" +import objectid "lindenii.org/go/furgit/object/id" // Create queues a detached reference creation. func (batch *Batch) Create(name string, newID objectid.ObjectID) error { diff --git a/ref/store/files/batch_rejection.go b/ref/store/files/batch_rejection.go index 7f31536c..a59aa2db 100644 --- a/ref/store/files/batch_rejection.go +++ b/ref/store/files/batch_rejection.go @@ -3,7 +3,7 @@ package files import ( "errors" - refstore "codeberg.org/lindenii/furgit/ref/store" + refstore "lindenii.org/go/furgit/ref/store" ) func isBatchRejected(err error) bool { diff --git a/ref/store/files/batch_test.go b/ref/store/files/batch_test.go index 80575e5e..6eb8ff82 100644 --- a/ref/store/files/batch_test.go +++ b/ref/store/files/batch_test.go @@ -4,9 +4,9 @@ import ( "errors" "testing" - "codeberg.org/lindenii/furgit/internal/testgit" - objectid "codeberg.org/lindenii/furgit/object/id" - refstore "codeberg.org/lindenii/furgit/ref/store" + "lindenii.org/go/furgit/internal/testgit" + objectid "lindenii.org/go/furgit/object/id" + refstore "lindenii.org/go/furgit/ref/store" ) func TestBatchApplyRejectsStaleDeleteAndAppliesIndependentDelete(t *testing.T) { diff --git a/ref/store/files/helpers_test.go b/ref/store/files/helpers_test.go index c46cc9fc..da1b81eb 100644 --- a/ref/store/files/helpers_test.go +++ b/ref/store/files/helpers_test.go @@ -7,9 +7,9 @@ import ( "testing" "time" - "codeberg.org/lindenii/furgit/internal/testgit" - objectid "codeberg.org/lindenii/furgit/object/id" - "codeberg.org/lindenii/furgit/ref/store/files" + "lindenii.org/go/furgit/internal/testgit" + objectid "lindenii.org/go/furgit/object/id" + "lindenii.org/go/furgit/ref/store/files" ) const testPackedRefsTimeout = time.Second diff --git a/ref/store/files/new.go b/ref/store/files/new.go index 391930fb..1a11098b 100644 --- a/ref/store/files/new.go +++ b/ref/store/files/new.go @@ -5,7 +5,7 @@ import ( "os" "time" - objectid "codeberg.org/lindenii/furgit/object/id" + objectid "lindenii.org/go/furgit/object/id" ) // New creates one files ref store rooted at one repository gitdir. diff --git a/ref/store/files/packed_delete_test.go b/ref/store/files/packed_delete_test.go index 184eb79c..ce87efd5 100644 --- a/ref/store/files/packed_delete_test.go +++ b/ref/store/files/packed_delete_test.go @@ -8,9 +8,9 @@ import ( "testing" "time" - "codeberg.org/lindenii/furgit/internal/testgit" - objectid "codeberg.org/lindenii/furgit/object/id" - refstore "codeberg.org/lindenii/furgit/ref/store" + "lindenii.org/go/furgit/internal/testgit" + objectid "lindenii.org/go/furgit/object/id" + refstore "lindenii.org/go/furgit/ref/store" ) func TestFilesTransactionPackedDeleteFailureLeavesRefsUnchanged(t *testing.T) { diff --git a/ref/store/files/packed_parse.go b/ref/store/files/packed_parse.go index 3662f6ed..63e48bbe 100644 --- a/ref/store/files/packed_parse.go +++ b/ref/store/files/packed_parse.go @@ -6,8 +6,8 @@ import ( "io" "strings" - objectid "codeberg.org/lindenii/furgit/object/id" - "codeberg.org/lindenii/furgit/ref" + objectid "lindenii.org/go/furgit/object/id" + "lindenii.org/go/furgit/ref" ) func parsePackedRefs(r io.Reader, algo objectid.Algorithm) (map[string]ref.Detached, []ref.Detached, error) { diff --git a/ref/store/files/packed_read.go b/ref/store/files/packed_read.go index 20800709..dafd7f1a 100644 --- a/ref/store/files/packed_read.go +++ b/ref/store/files/packed_read.go @@ -5,7 +5,7 @@ import ( "fmt" "os" - "codeberg.org/lindenii/furgit/ref" + "lindenii.org/go/furgit/ref" ) func (store *Store) readPackedRefs() (*packedRefs, error) { diff --git a/ref/store/files/packed_refs.go b/ref/store/files/packed_refs.go index f3e91d83..21bcc791 100644 --- a/ref/store/files/packed_refs.go +++ b/ref/store/files/packed_refs.go @@ -1,7 +1,7 @@ package files import ( - "codeberg.org/lindenii/furgit/ref" + "lindenii.org/go/furgit/ref" ) type packedRefs struct { diff --git a/ref/store/files/read_list.go b/ref/store/files/read_list.go index 5a828276..61739192 100644 --- a/ref/store/files/read_list.go +++ b/ref/store/files/read_list.go @@ -5,8 +5,8 @@ import ( "path" "slices" - "codeberg.org/lindenii/furgit/ref" - refstore "codeberg.org/lindenii/furgit/ref/store" + "lindenii.org/go/furgit/ref" + refstore "lindenii.org/go/furgit/ref/store" ) // List lists references from the visible files ref namespace. diff --git a/ref/store/files/read_loose.go b/ref/store/files/read_loose.go index e9b1435a..146db0f2 100644 --- a/ref/store/files/read_loose.go +++ b/ref/store/files/read_loose.go @@ -6,9 +6,9 @@ import ( "os" "strings" - objectid "codeberg.org/lindenii/furgit/object/id" - "codeberg.org/lindenii/furgit/ref" - refstore "codeberg.org/lindenii/furgit/ref/store" + objectid "lindenii.org/go/furgit/object/id" + "lindenii.org/go/furgit/ref" + refstore "lindenii.org/go/furgit/ref/store" ) func (store *Store) readLooseRef(name string) (ref.Ref, error) { //nolint:ireturn diff --git a/ref/store/files/read_resolve.go b/ref/store/files/read_resolve.go index a998f970..558a9c89 100644 --- a/ref/store/files/read_resolve.go +++ b/ref/store/files/read_resolve.go @@ -3,8 +3,8 @@ package files import ( "errors" - "codeberg.org/lindenii/furgit/ref" - refstore "codeberg.org/lindenii/furgit/ref/store" + "lindenii.org/go/furgit/ref" + refstore "lindenii.org/go/furgit/ref/store" ) // Resolve resolves one reference name from the files store visible namespace. diff --git a/ref/store/files/read_resolve_fully.go b/ref/store/files/read_resolve_fully.go index de58eb6d..e2a465af 100644 --- a/ref/store/files/read_resolve_fully.go +++ b/ref/store/files/read_resolve_fully.go @@ -4,7 +4,7 @@ import ( "fmt" "strings" - "codeberg.org/lindenii/furgit/ref" + "lindenii.org/go/furgit/ref" ) // ResolveToDetached resolves symbolic references through the visible files store diff --git a/ref/store/files/resolve_list_test.go b/ref/store/files/resolve_list_test.go index d52c5aa2..c039da4f 100644 --- a/ref/store/files/resolve_list_test.go +++ b/ref/store/files/resolve_list_test.go @@ -4,9 +4,9 @@ import ( "slices" "testing" - "codeberg.org/lindenii/furgit/internal/testgit" - objectid "codeberg.org/lindenii/furgit/object/id" - "codeberg.org/lindenii/furgit/ref" + "lindenii.org/go/furgit/internal/testgit" + objectid "lindenii.org/go/furgit/object/id" + "lindenii.org/go/furgit/ref" ) func TestFilesResolveAndListOverlay(t *testing.T) { diff --git a/ref/store/files/root_loose_path.go b/ref/store/files/root_loose_path.go index 7764073b..40f97801 100644 --- a/ref/store/files/root_loose_path.go +++ b/ref/store/files/root_loose_path.go @@ -3,7 +3,7 @@ package files import ( "path" - "codeberg.org/lindenii/furgit/ref/name" + "lindenii.org/go/furgit/ref/name" ) func (store *Store) loosePath(name string) refPath { diff --git a/ref/store/files/store.go b/ref/store/files/store.go index 66d46d06..ee83ffa2 100644 --- a/ref/store/files/store.go +++ b/ref/store/files/store.go @@ -7,8 +7,8 @@ import ( "os" "time" - objectid "codeberg.org/lindenii/furgit/object/id" - refstore "codeberg.org/lindenii/furgit/ref/store" + objectid "lindenii.org/go/furgit/object/id" + refstore "lindenii.org/go/furgit/ref/store" ) // Store reads and writes one Git files ref namespace rooted at one repository diff --git a/ref/store/files/transaction.go b/ref/store/files/transaction.go index fec43e1d..bbf6607f 100644 --- a/ref/store/files/transaction.go +++ b/ref/store/files/transaction.go @@ -1,7 +1,7 @@ package files import ( - refstore "codeberg.org/lindenii/furgit/ref/store" + refstore "lindenii.org/go/furgit/ref/store" ) // Transaction stages files-store updates for one atomic commit. diff --git a/ref/store/files/transaction_begin.go b/ref/store/files/transaction_begin.go index cdd3bad1..5da0c43d 100644 --- a/ref/store/files/transaction_begin.go +++ b/ref/store/files/transaction_begin.go @@ -1,6 +1,6 @@ package files -import refstore "codeberg.org/lindenii/furgit/ref/store" +import refstore "lindenii.org/go/furgit/ref/store" // BeginTransaction creates one new files transaction. // diff --git a/ref/store/files/transaction_dirs_test.go b/ref/store/files/transaction_dirs_test.go index c010ae69..0cf54c28 100644 --- a/ref/store/files/transaction_dirs_test.go +++ b/ref/store/files/transaction_dirs_test.go @@ -3,8 +3,8 @@ package files_test import ( "testing" - "codeberg.org/lindenii/furgit/internal/testgit" - objectid "codeberg.org/lindenii/furgit/object/id" + "lindenii.org/go/furgit/internal/testgit" + objectid "lindenii.org/go/furgit/object/id" ) func TestFilesTransactionEmptyDirectoriesDoNotBlock(t *testing.T) { diff --git a/ref/store/files/transaction_names_test.go b/ref/store/files/transaction_names_test.go index b362cb08..39fc68ed 100644 --- a/ref/store/files/transaction_names_test.go +++ b/ref/store/files/transaction_names_test.go @@ -3,10 +3,10 @@ package files_test import ( "testing" - "codeberg.org/lindenii/furgit/internal/testgit" - objectid "codeberg.org/lindenii/furgit/object/id" - "codeberg.org/lindenii/furgit/ref" - refstore "codeberg.org/lindenii/furgit/ref/store" + "lindenii.org/go/furgit/internal/testgit" + objectid "lindenii.org/go/furgit/object/id" + "lindenii.org/go/furgit/ref" + refstore "lindenii.org/go/furgit/ref/store" ) func TestFilesTransactionValidateUpdateNames(t *testing.T) { diff --git a/ref/store/files/transaction_pseudoref_test.go b/ref/store/files/transaction_pseudoref_test.go index ea57e92f..33e05d70 100644 --- a/ref/store/files/transaction_pseudoref_test.go +++ b/ref/store/files/transaction_pseudoref_test.go @@ -4,9 +4,9 @@ import ( "errors" "testing" - "codeberg.org/lindenii/furgit/internal/testgit" - objectid "codeberg.org/lindenii/furgit/object/id" - refstore "codeberg.org/lindenii/furgit/ref/store" + "lindenii.org/go/furgit/internal/testgit" + objectid "lindenii.org/go/furgit/object/id" + refstore "lindenii.org/go/furgit/ref/store" ) func TestFilesTransactionPseudorefLifecycle(t *testing.T) { diff --git a/ref/store/files/transaction_queue_ops.go b/ref/store/files/transaction_queue_ops.go index 63f48254..958ced5d 100644 --- a/ref/store/files/transaction_queue_ops.go +++ b/ref/store/files/transaction_queue_ops.go @@ -1,6 +1,6 @@ package files -import objectid "codeberg.org/lindenii/furgit/object/id" +import objectid "lindenii.org/go/furgit/object/id" // Create queues a detached reference creation. func (tx *Transaction) Create(name string, newID objectid.ObjectID) error { diff --git a/ref/store/files/transaction_symbolic_test.go b/ref/store/files/transaction_symbolic_test.go index 360686d6..ed29ae23 100644 --- a/ref/store/files/transaction_symbolic_test.go +++ b/ref/store/files/transaction_symbolic_test.go @@ -4,9 +4,9 @@ import ( "errors" "testing" - "codeberg.org/lindenii/furgit/internal/testgit" - objectid "codeberg.org/lindenii/furgit/object/id" - refstore "codeberg.org/lindenii/furgit/ref/store" + "lindenii.org/go/furgit/internal/testgit" + objectid "lindenii.org/go/furgit/object/id" + refstore "lindenii.org/go/furgit/ref/store" ) func TestFilesTransactionDirectSymbolicDeletes(t *testing.T) { diff --git a/ref/store/files/transaction_update_test.go b/ref/store/files/transaction_update_test.go index a29d586e..d8e89cb0 100644 --- a/ref/store/files/transaction_update_test.go +++ b/ref/store/files/transaction_update_test.go @@ -5,10 +5,10 @@ import ( "strings" "testing" - "codeberg.org/lindenii/furgit/internal/testgit" - objectid "codeberg.org/lindenii/furgit/object/id" - "codeberg.org/lindenii/furgit/ref" - refstore "codeberg.org/lindenii/furgit/ref/store" + "lindenii.org/go/furgit/internal/testgit" + objectid "lindenii.org/go/furgit/object/id" + "lindenii.org/go/furgit/ref" + refstore "lindenii.org/go/furgit/ref/store" ) func TestFilesTransactionPackedUpdateCreatesLooseOverride(t *testing.T) { diff --git a/ref/store/files/update_direct_read.go b/ref/store/files/update_direct_read.go index 50e15026..0f9ccc2c 100644 --- a/ref/store/files/update_direct_read.go +++ b/ref/store/files/update_direct_read.go @@ -4,9 +4,9 @@ import ( "errors" "fmt" - "codeberg.org/lindenii/furgit/ref" - "codeberg.org/lindenii/furgit/ref/name" - refstore "codeberg.org/lindenii/furgit/ref/store" + "lindenii.org/go/furgit/ref" + "lindenii.org/go/furgit/ref/name" + refstore "lindenii.org/go/furgit/ref/store" ) func (executor *refUpdateExecutor) directRead(name string) (directRefState, error) { diff --git a/ref/store/files/update_direct_ref.go b/ref/store/files/update_direct_ref.go index 3b429be0..79136da6 100644 --- a/ref/store/files/update_direct_ref.go +++ b/ref/store/files/update_direct_ref.go @@ -1,6 +1,6 @@ package files -import objectid "codeberg.org/lindenii/furgit/object/id" +import objectid "lindenii.org/go/furgit/object/id" type directRefKind uint8 diff --git a/ref/store/files/update_operation_queue.go b/ref/store/files/update_operation_queue.go index ef7ced2f..ecfdee28 100644 --- a/ref/store/files/update_operation_queue.go +++ b/ref/store/files/update_operation_queue.go @@ -1,6 +1,6 @@ package files -import objectid "codeberg.org/lindenii/furgit/object/id" +import objectid "lindenii.org/go/furgit/object/id" type queuedUpdate struct { name string diff --git a/ref/store/files/update_prepare_resolve.go b/ref/store/files/update_prepare_resolve.go index 19d209b0..a0437332 100644 --- a/ref/store/files/update_prepare_resolve.go +++ b/ref/store/files/update_prepare_resolve.go @@ -1,6 +1,6 @@ package files -import refstore "codeberg.org/lindenii/furgit/ref/store" +import refstore "lindenii.org/go/furgit/ref/store" func (executor *refUpdateExecutor) resolvePreparedUpdates(ops []queuedUpdate) ([]preparedUpdate, error) { prepared := make([]preparedUpdate, 0, len(ops)) diff --git a/ref/store/files/update_resolve_target_ordinary.go b/ref/store/files/update_resolve_target_ordinary.go index cf8e1978..73dc9e48 100644 --- a/ref/store/files/update_resolve_target_ordinary.go +++ b/ref/store/files/update_resolve_target_ordinary.go @@ -4,7 +4,7 @@ import ( "fmt" "strings" - refstore "codeberg.org/lindenii/furgit/ref/store" + refstore "lindenii.org/go/furgit/ref/store" ) func (executor *refUpdateExecutor) resolveOrdinaryTarget(name string, allowMissing bool) (resolvedUpdateTarget, error) { diff --git a/ref/store/files/update_validate.go b/ref/store/files/update_validate.go index ac3429aa..53758e19 100644 --- a/ref/store/files/update_validate.go +++ b/ref/store/files/update_validate.go @@ -4,9 +4,9 @@ import ( "fmt" "strings" - objectid "codeberg.org/lindenii/furgit/object/id" - "codeberg.org/lindenii/furgit/ref/name" - refstore "codeberg.org/lindenii/furgit/ref/store" + objectid "lindenii.org/go/furgit/object/id" + "lindenii.org/go/furgit/ref/name" + refstore "lindenii.org/go/furgit/ref/store" ) func (executor *refUpdateExecutor) validateQueuedUpdate(op queuedUpdate) error { diff --git a/ref/store/files/update_verify_current.go b/ref/store/files/update_verify_current.go index 51ed1b42..aa69ae76 100644 --- a/ref/store/files/update_verify_current.go +++ b/ref/store/files/update_verify_current.go @@ -3,7 +3,7 @@ package files import ( "strings" - refstore "codeberg.org/lindenii/furgit/ref/store" + refstore "lindenii.org/go/furgit/ref/store" ) func (executor *refUpdateExecutor) verifyPreparedUpdateCurrent(item preparedUpdate) error { diff --git a/ref/store/files/update_verify_refnames.go b/ref/store/files/update_verify_refnames.go index 8bc34a62..04bdcf21 100644 --- a/ref/store/files/update_verify_refnames.go +++ b/ref/store/files/update_verify_refnames.go @@ -3,7 +3,7 @@ package files import ( "strings" - refstore "codeberg.org/lindenii/furgit/ref/store" + refstore "lindenii.org/go/furgit/ref/store" ) func verifyRefnameAvailable(name string, existing map[string]struct{}, writes []string, deleted map[string]struct{}) error { diff --git a/ref/store/files/worktree_test.go b/ref/store/files/worktree_test.go index ae3dc299..f8a3e8e0 100644 --- a/ref/store/files/worktree_test.go +++ b/ref/store/files/worktree_test.go @@ -5,9 +5,9 @@ import ( "slices" "testing" - "codeberg.org/lindenii/furgit/internal/testgit" - objectid "codeberg.org/lindenii/furgit/object/id" - refstore "codeberg.org/lindenii/furgit/ref/store" + "lindenii.org/go/furgit/internal/testgit" + objectid "lindenii.org/go/furgit/object/id" + refstore "lindenii.org/go/furgit/ref/store" ) func TestFilesWorktreeRefsMatchGit(t *testing.T) { diff --git a/ref/store/memory/batch.go b/ref/store/memory/batch.go index df3d554d..5e742fea 100644 --- a/ref/store/memory/batch.go +++ b/ref/store/memory/batch.go @@ -1,8 +1,8 @@ package memory import ( - objectid "codeberg.org/lindenii/furgit/object/id" - refstore "codeberg.org/lindenii/furgit/ref/store" + objectid "lindenii.org/go/furgit/object/id" + refstore "lindenii.org/go/furgit/ref/store" ) // Batch stages in-memory updates for one subset commit. diff --git a/ref/store/memory/read.go b/ref/store/memory/read.go index 5f8095bb..c9b2c7e6 100644 --- a/ref/store/memory/read.go +++ b/ref/store/memory/read.go @@ -6,8 +6,8 @@ import ( "slices" "strings" - "codeberg.org/lindenii/furgit/ref" - refstore "codeberg.org/lindenii/furgit/ref/store" + "lindenii.org/go/furgit/ref" + refstore "lindenii.org/go/furgit/ref/store" ) // Resolve resolves one reference name diff --git a/ref/store/memory/ref.go b/ref/store/memory/ref.go index 67d9268f..f5492e63 100644 --- a/ref/store/memory/ref.go +++ b/ref/store/memory/ref.go @@ -1,6 +1,6 @@ package memory -import objectid "codeberg.org/lindenii/furgit/object/id" +import objectid "lindenii.org/go/furgit/object/id" // Because the public one includes the ref's name/identity. diff --git a/ref/store/memory/store.go b/ref/store/memory/store.go index d77f72e2..0cdbc010 100644 --- a/ref/store/memory/store.go +++ b/ref/store/memory/store.go @@ -3,8 +3,8 @@ package memory import ( "sync" - objectid "codeberg.org/lindenii/furgit/object/id" - refstore "codeberg.org/lindenii/furgit/ref/store" + objectid "lindenii.org/go/furgit/object/id" + refstore "lindenii.org/go/furgit/ref/store" ) // Store reads and writes one in-memory Git reference namespace. diff --git a/ref/store/memory/store_test.go b/ref/store/memory/store_test.go index b9705770..38adf9b6 100644 --- a/ref/store/memory/store_test.go +++ b/ref/store/memory/store_test.go @@ -4,11 +4,11 @@ import ( "errors" "testing" - "codeberg.org/lindenii/furgit/internal/testgit" - objectid "codeberg.org/lindenii/furgit/object/id" - "codeberg.org/lindenii/furgit/ref" - refstore "codeberg.org/lindenii/furgit/ref/store" - "codeberg.org/lindenii/furgit/ref/store/memory" + "lindenii.org/go/furgit/internal/testgit" + objectid "lindenii.org/go/furgit/object/id" + "lindenii.org/go/furgit/ref" + refstore "lindenii.org/go/furgit/ref/store" + "lindenii.org/go/furgit/ref/store/memory" ) // Unlike the public ResolveToDetached, diff --git a/ref/store/memory/transaction.go b/ref/store/memory/transaction.go index 81ae01ef..62abaf90 100644 --- a/ref/store/memory/transaction.go +++ b/ref/store/memory/transaction.go @@ -1,8 +1,8 @@ package memory import ( - objectid "codeberg.org/lindenii/furgit/object/id" - refstore "codeberg.org/lindenii/furgit/ref/store" + objectid "lindenii.org/go/furgit/object/id" + refstore "lindenii.org/go/furgit/ref/store" ) // Transaction stages in-memory updates for one atomic commit. diff --git a/ref/store/memory/update.go b/ref/store/memory/update.go index 78a7ca2d..5c336fb7 100644 --- a/ref/store/memory/update.go +++ b/ref/store/memory/update.go @@ -5,9 +5,9 @@ import ( "fmt" "strings" - objectid "codeberg.org/lindenii/furgit/object/id" - refname "codeberg.org/lindenii/furgit/ref/name" - refstore "codeberg.org/lindenii/furgit/ref/store" + objectid "lindenii.org/go/furgit/object/id" + refname "lindenii.org/go/furgit/ref/name" + refstore "lindenii.org/go/furgit/ref/store" ) type updateKind uint8 diff --git a/ref/store/reading.go b/ref/store/reading.go index bf610d9b..94a92fca 100644 --- a/ref/store/reading.go +++ b/ref/store/reading.go @@ -1,6 +1,6 @@ package refstore -import "codeberg.org/lindenii/furgit/ref" +import "lindenii.org/go/furgit/ref" // Reader reads Git references. // diff --git a/ref/store/transaction.go b/ref/store/transaction.go index 30f6ab50..d31cd7e1 100644 --- a/ref/store/transaction.go +++ b/ref/store/transaction.go @@ -1,6 +1,6 @@ package refstore -import objectid "codeberg.org/lindenii/furgit/object/id" +import objectid "lindenii.org/go/furgit/object/id" // Transaction stages reference updates for one atomic commit. // -- cgit v1.3.1-10-gc9f91