aboutsummaryrefslogtreecommitdiff
path: root/ref/store/files/transaction.go
blob: bbf6607fa5ac678a78d70c1946aa457da63dc8e6 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
package files

import (
	refstore "lindenii.org/go/furgit/ref/store"
)

// Transaction stages files-store updates for one atomic commit.
type Transaction struct {
	store *Store
	ops   []queuedUpdate
}

var _ refstore.Transaction = (*Transaction)(nil)