aboutsummaryrefslogtreecommitdiff
path: root/ref/store/files/batch_apply.go
diff options
context:
space:
mode:
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))