aboutsummaryrefslogtreecommitdiff
path: root/ref/store/files/transaction_commit.go
diff options
context:
space:
mode:
Diffstat (limited to 'ref/store/files/transaction_commit.go')
-rw-r--r--ref/store/files/transaction_commit.go13
1 files changed, 0 insertions, 13 deletions
diff --git a/ref/store/files/transaction_commit.go b/ref/store/files/transaction_commit.go
deleted file mode 100644
index aeea497e..00000000
--- a/ref/store/files/transaction_commit.go
+++ /dev/null
@@ -1,13 +0,0 @@
-package files
-
-// Commit validates and applies the queued updates atomically.
-func (tx *Transaction) Commit() error {
- executor := &refUpdateExecutor{store: tx.store}
-
- prepared, err := executor.prepareUpdates(tx.ops)
- if err != nil {
- return err
- }
-
- return executor.commitPreparedUpdates(prepared)
-}