diff options
Diffstat (limited to 'refstore/transaction.go')
| -rw-r--r-- | refstore/transaction.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/refstore/transaction.go b/refstore/transaction.go index 539229c9..fc0a8d76 100644 --- a/refstore/transaction.go +++ b/refstore/transaction.go @@ -37,7 +37,11 @@ type Transaction interface { VerifySymbolic(name, oldTarget string) error // Commit validates and applies all queued operations atomically. + // + // Commit is terminal. Further use of the transaction is undefined behavior. Commit() error // Abort abandons the transaction and releases any resources it holds. + // + // Abort is terminal. Further use of the transaction is undefined behavior. Abort() error } |
