aboutsummaryrefslogtreecommitdiff
path: root/refstore
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-25 14:21:50 +0000
committerGravatar Runxi Yu2026-03-25 14:22:01 +0000
commite4373a7e553f8523db3e99ea316e1c25d30cc059 (patch)
treec21d0b20b1c4743619a05fdfcfa676ab2642da9e /refstore
parent*: objecttype, objectheader -> object/type, object/header (diff)
signatureNo signature
*: objectid -> object/id
Diffstat (limited to 'refstore')
-rw-r--r--refstore/batch.go2
-rw-r--r--refstore/files/batch_queue_ops.go2
-rw-r--r--refstore/files/batch_test.go2
-rw-r--r--refstore/files/helpers_test.go2
-rw-r--r--refstore/files/new.go2
-rw-r--r--refstore/files/packed_delete_test.go2
-rw-r--r--refstore/files/packed_parse.go2
-rw-r--r--refstore/files/read_loose.go2
-rw-r--r--refstore/files/resolve_list_test.go2
-rw-r--r--refstore/files/store.go2
-rw-r--r--refstore/files/transaction_dirs_test.go2
-rw-r--r--refstore/files/transaction_names_test.go2
-rw-r--r--refstore/files/transaction_pseudoref_test.go2
-rw-r--r--refstore/files/transaction_queue_ops.go2
-rw-r--r--refstore/files/transaction_symbolic_test.go2
-rw-r--r--refstore/files/transaction_update_test.go2
-rw-r--r--refstore/files/update_direct_ref.go2
-rw-r--r--refstore/files/update_operation_queue.go2
-rw-r--r--refstore/files/update_validate.go2
-rw-r--r--refstore/files/worktree_test.go2
-rw-r--r--refstore/transaction.go2
21 files changed, 21 insertions, 21 deletions
diff --git a/refstore/batch.go b/refstore/batch.go
index 7e3095ea..6a877a2c 100644
--- a/refstore/batch.go
+++ b/refstore/batch.go
@@ -1,6 +1,6 @@
package refstore
-import "codeberg.org/lindenii/furgit/objectid"
+import objectid "codeberg.org/lindenii/furgit/object/id"
// Batch stages reference operations for one non-atomic apply.
//
diff --git a/refstore/files/batch_queue_ops.go b/refstore/files/batch_queue_ops.go
index b74157c1..7434b0c3 100644
--- a/refstore/files/batch_queue_ops.go
+++ b/refstore/files/batch_queue_ops.go
@@ -1,6 +1,6 @@
package files
-import "codeberg.org/lindenii/furgit/objectid"
+import objectid "codeberg.org/lindenii/furgit/object/id"
func (batch *Batch) Create(name string, newID objectid.ObjectID) {
batch.queue(queuedUpdate{name: name, kind: updateCreate, newID: newID})
diff --git a/refstore/files/batch_test.go b/refstore/files/batch_test.go
index d9ce9ac9..d44ef22f 100644
--- a/refstore/files/batch_test.go
+++ b/refstore/files/batch_test.go
@@ -5,7 +5,7 @@ import (
"testing"
"codeberg.org/lindenii/furgit/internal/testgit"
- "codeberg.org/lindenii/furgit/objectid"
+ objectid "codeberg.org/lindenii/furgit/object/id"
"codeberg.org/lindenii/furgit/refstore"
)
diff --git a/refstore/files/helpers_test.go b/refstore/files/helpers_test.go
index bdef6bb5..12f02694 100644
--- a/refstore/files/helpers_test.go
+++ b/refstore/files/helpers_test.go
@@ -8,7 +8,7 @@ import (
"time"
"codeberg.org/lindenii/furgit/internal/testgit"
- "codeberg.org/lindenii/furgit/objectid"
+ objectid "codeberg.org/lindenii/furgit/object/id"
"codeberg.org/lindenii/furgit/refstore/files"
)
diff --git a/refstore/files/new.go b/refstore/files/new.go
index 6e113e64..bca3a491 100644
--- a/refstore/files/new.go
+++ b/refstore/files/new.go
@@ -5,7 +5,7 @@ import (
"os"
"time"
- "codeberg.org/lindenii/furgit/objectid"
+ objectid "codeberg.org/lindenii/furgit/object/id"
)
// New creates one files ref store rooted at one repository gitdir.
diff --git a/refstore/files/packed_delete_test.go b/refstore/files/packed_delete_test.go
index d8209f5b..75992a9d 100644
--- a/refstore/files/packed_delete_test.go
+++ b/refstore/files/packed_delete_test.go
@@ -9,7 +9,7 @@ import (
"time"
"codeberg.org/lindenii/furgit/internal/testgit"
- "codeberg.org/lindenii/furgit/objectid"
+ objectid "codeberg.org/lindenii/furgit/object/id"
"codeberg.org/lindenii/furgit/refstore"
)
diff --git a/refstore/files/packed_parse.go b/refstore/files/packed_parse.go
index 5582ee37..3662f6ed 100644
--- a/refstore/files/packed_parse.go
+++ b/refstore/files/packed_parse.go
@@ -6,7 +6,7 @@ import (
"io"
"strings"
- "codeberg.org/lindenii/furgit/objectid"
+ objectid "codeberg.org/lindenii/furgit/object/id"
"codeberg.org/lindenii/furgit/ref"
)
diff --git a/refstore/files/read_loose.go b/refstore/files/read_loose.go
index cc2bed49..8c743fb4 100644
--- a/refstore/files/read_loose.go
+++ b/refstore/files/read_loose.go
@@ -6,7 +6,7 @@ import (
"os"
"strings"
- "codeberg.org/lindenii/furgit/objectid"
+ objectid "codeberg.org/lindenii/furgit/object/id"
"codeberg.org/lindenii/furgit/ref"
"codeberg.org/lindenii/furgit/refstore"
)
diff --git a/refstore/files/resolve_list_test.go b/refstore/files/resolve_list_test.go
index 82d1cc48..e25a53f4 100644
--- a/refstore/files/resolve_list_test.go
+++ b/refstore/files/resolve_list_test.go
@@ -5,7 +5,7 @@ import (
"testing"
"codeberg.org/lindenii/furgit/internal/testgit"
- "codeberg.org/lindenii/furgit/objectid"
+ objectid "codeberg.org/lindenii/furgit/object/id"
"codeberg.org/lindenii/furgit/ref"
)
diff --git a/refstore/files/store.go b/refstore/files/store.go
index 378c0af0..ed9b8744 100644
--- a/refstore/files/store.go
+++ b/refstore/files/store.go
@@ -7,7 +7,7 @@ import (
"os"
"time"
- "codeberg.org/lindenii/furgit/objectid"
+ objectid "codeberg.org/lindenii/furgit/object/id"
"codeberg.org/lindenii/furgit/refstore"
)
diff --git a/refstore/files/transaction_dirs_test.go b/refstore/files/transaction_dirs_test.go
index 08d07197..c010ae69 100644
--- a/refstore/files/transaction_dirs_test.go
+++ b/refstore/files/transaction_dirs_test.go
@@ -4,7 +4,7 @@ import (
"testing"
"codeberg.org/lindenii/furgit/internal/testgit"
- "codeberg.org/lindenii/furgit/objectid"
+ objectid "codeberg.org/lindenii/furgit/object/id"
)
func TestFilesTransactionEmptyDirectoriesDoNotBlock(t *testing.T) {
diff --git a/refstore/files/transaction_names_test.go b/refstore/files/transaction_names_test.go
index 2ef23e0d..03c288b1 100644
--- a/refstore/files/transaction_names_test.go
+++ b/refstore/files/transaction_names_test.go
@@ -4,7 +4,7 @@ import (
"testing"
"codeberg.org/lindenii/furgit/internal/testgit"
- "codeberg.org/lindenii/furgit/objectid"
+ objectid "codeberg.org/lindenii/furgit/object/id"
"codeberg.org/lindenii/furgit/ref"
"codeberg.org/lindenii/furgit/refstore"
)
diff --git a/refstore/files/transaction_pseudoref_test.go b/refstore/files/transaction_pseudoref_test.go
index 5ecae07b..4e7af666 100644
--- a/refstore/files/transaction_pseudoref_test.go
+++ b/refstore/files/transaction_pseudoref_test.go
@@ -5,7 +5,7 @@ import (
"testing"
"codeberg.org/lindenii/furgit/internal/testgit"
- "codeberg.org/lindenii/furgit/objectid"
+ objectid "codeberg.org/lindenii/furgit/object/id"
"codeberg.org/lindenii/furgit/refstore"
)
diff --git a/refstore/files/transaction_queue_ops.go b/refstore/files/transaction_queue_ops.go
index e7000c6a..047518c4 100644
--- a/refstore/files/transaction_queue_ops.go
+++ b/refstore/files/transaction_queue_ops.go
@@ -1,6 +1,6 @@
package files
-import "codeberg.org/lindenii/furgit/objectid"
+import objectid "codeberg.org/lindenii/furgit/object/id"
func (tx *Transaction) Create(name string, newID objectid.ObjectID) error {
return tx.queue(queuedUpdate{name: name, kind: updateCreate, newID: newID})
diff --git a/refstore/files/transaction_symbolic_test.go b/refstore/files/transaction_symbolic_test.go
index 1524d52e..d0a601f1 100644
--- a/refstore/files/transaction_symbolic_test.go
+++ b/refstore/files/transaction_symbolic_test.go
@@ -5,7 +5,7 @@ import (
"testing"
"codeberg.org/lindenii/furgit/internal/testgit"
- "codeberg.org/lindenii/furgit/objectid"
+ objectid "codeberg.org/lindenii/furgit/object/id"
"codeberg.org/lindenii/furgit/refstore"
)
diff --git a/refstore/files/transaction_update_test.go b/refstore/files/transaction_update_test.go
index 58546341..b9bd5a2d 100644
--- a/refstore/files/transaction_update_test.go
+++ b/refstore/files/transaction_update_test.go
@@ -6,7 +6,7 @@ import (
"testing"
"codeberg.org/lindenii/furgit/internal/testgit"
- "codeberg.org/lindenii/furgit/objectid"
+ objectid "codeberg.org/lindenii/furgit/object/id"
"codeberg.org/lindenii/furgit/ref"
"codeberg.org/lindenii/furgit/refstore"
)
diff --git a/refstore/files/update_direct_ref.go b/refstore/files/update_direct_ref.go
index fb9a83ae..3b429be0 100644
--- a/refstore/files/update_direct_ref.go
+++ b/refstore/files/update_direct_ref.go
@@ -1,6 +1,6 @@
package files
-import "codeberg.org/lindenii/furgit/objectid"
+import objectid "codeberg.org/lindenii/furgit/object/id"
type directRefKind uint8
diff --git a/refstore/files/update_operation_queue.go b/refstore/files/update_operation_queue.go
index 05039ce3..ef7ced2f 100644
--- a/refstore/files/update_operation_queue.go
+++ b/refstore/files/update_operation_queue.go
@@ -1,6 +1,6 @@
package files
-import "codeberg.org/lindenii/furgit/objectid"
+import objectid "codeberg.org/lindenii/furgit/object/id"
type queuedUpdate struct {
name string
diff --git a/refstore/files/update_validate.go b/refstore/files/update_validate.go
index 9449fda5..94a53fb7 100644
--- a/refstore/files/update_validate.go
+++ b/refstore/files/update_validate.go
@@ -4,7 +4,7 @@ import (
"fmt"
"strings"
- "codeberg.org/lindenii/furgit/objectid"
+ objectid "codeberg.org/lindenii/furgit/object/id"
"codeberg.org/lindenii/furgit/ref/refname"
"codeberg.org/lindenii/furgit/refstore"
)
diff --git a/refstore/files/worktree_test.go b/refstore/files/worktree_test.go
index 2e24fb01..4a66b7a6 100644
--- a/refstore/files/worktree_test.go
+++ b/refstore/files/worktree_test.go
@@ -6,7 +6,7 @@ import (
"testing"
"codeberg.org/lindenii/furgit/internal/testgit"
- "codeberg.org/lindenii/furgit/objectid"
+ objectid "codeberg.org/lindenii/furgit/object/id"
"codeberg.org/lindenii/furgit/refstore"
)
diff --git a/refstore/transaction.go b/refstore/transaction.go
index 5d090696..a70cd3d4 100644
--- a/refstore/transaction.go
+++ b/refstore/transaction.go
@@ -1,6 +1,6 @@
package refstore
-import "codeberg.org/lindenii/furgit/objectid"
+import objectid "codeberg.org/lindenii/furgit/object/id"
// Transaction stages reference updates for one atomic commit.
//