Skip to content

Commit

Permalink
Revise DB interface
Browse files Browse the repository at this point in the history
  • Loading branch information
roysc committed Aug 13, 2021
1 parent 3d9dc49 commit 80f9e6a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion db/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ type DBWriter interface {
Delete([]byte) error

// Flushes pending writes and discards the transaction.
// TODO: maybe change to Flush() and follow WriteBatch semantics (ie. don't discard)
Commit() error

// Discards the transaction, invalidating any future operations on it.
Expand Down

0 comments on commit 80f9e6a

Please sign in to comment.