From 48ff647cf4a8bb8f23fcd6b8616f56a8ef72b980 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Wed, 25 Mar 2026 14:31:16 +0000 Subject: *: refstore -> ref/store --- refstore/files/batch_queue_ops.go | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 refstore/files/batch_queue_ops.go (limited to 'refstore/files/batch_queue_ops.go') diff --git a/refstore/files/batch_queue_ops.go b/refstore/files/batch_queue_ops.go deleted file mode 100644 index 7434b0c3..00000000 --- a/refstore/files/batch_queue_ops.go +++ /dev/null @@ -1,35 +0,0 @@ -package files - -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}) -} - -func (batch *Batch) Update(name string, newID, oldID objectid.ObjectID) { - batch.queue(queuedUpdate{name: name, kind: updateReplace, newID: newID, oldID: oldID}) -} - -func (batch *Batch) Delete(name string, oldID objectid.ObjectID) { - batch.queue(queuedUpdate{name: name, kind: updateDelete, oldID: oldID}) -} - -func (batch *Batch) Verify(name string, oldID objectid.ObjectID) { - batch.queue(queuedUpdate{name: name, kind: updateVerify, oldID: oldID}) -} - -func (batch *Batch) CreateSymbolic(name, newTarget string) { - batch.queue(queuedUpdate{name: name, kind: updateCreateSymbolic, newTarget: newTarget}) -} - -func (batch *Batch) UpdateSymbolic(name, newTarget, oldTarget string) { - batch.queue(queuedUpdate{name: name, kind: updateReplaceSymbolic, newTarget: newTarget, oldTarget: oldTarget}) -} - -func (batch *Batch) DeleteSymbolic(name, oldTarget string) { - batch.queue(queuedUpdate{name: name, kind: updateDeleteSymbolic, oldTarget: oldTarget}) -} - -func (batch *Batch) VerifySymbolic(name, oldTarget string) { - batch.queue(queuedUpdate{name: name, kind: updateVerifySymbolic, oldTarget: oldTarget}) -} -- cgit v1.3.1-10-gc9f91