Unverified Commit c457b849 authored by Steven Allen's avatar Steven Allen Committed by GitHub

Merge pull request #113 from ipfs/fix/transaction-interface

remove io.Closer from the transaction interface
parents 3f52705c d16f20ae
......@@ -171,7 +171,8 @@ type TTLDatastore interface {
// Commit has been made. Likewise, transactions can be aborted by calling
// Discard before a successful Commit has been made.
type Txn interface {
Datastore
Read
Write
// Commit finalizes a transaction, attempting to commit it to the Datastore.
// May return an error if the transaction has gone stale. The presence of an
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment