aboutsummaryrefslogtreecommitdiff
path: root/ref/store/files/batch_apply.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-28 17:08:46 +0000
committerGravatar Runxi Yu2026-03-28 17:08:46 +0000
commit78461860b65f84b2a4933ef8a033fa581a4d0c68 (patch)
treec0aa308b2a24f3782c164cc554d4bac9a182edfe /ref/store/files/batch_apply.go
parentref/store/chain: Update docs (diff)
signatureNo signature
ref/store/files: Update docs
Diffstat (limited to 'ref/store/files/batch_apply.go')
-rw-r--r--ref/store/files/batch_apply.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/ref/store/files/batch_apply.go b/ref/store/files/batch_apply.go
index 138026a3..b4be9079 100644
--- a/ref/store/files/batch_apply.go
+++ b/ref/store/files/batch_apply.go
@@ -2,6 +2,7 @@ package files
import refstore "codeberg.org/lindenii/furgit/ref/store"
+// Apply validates and applies the queued updates.
func (batch *Batch) Apply() ([]refstore.BatchResult, error) {
results := make([]refstore.BatchResult, len(batch.ops))
remainingIdx := make([]int, 0, len(batch.ops))