split out Database.Queue from Database.Handle

Fsck can use the queue for efficiency since it is write-heavy, and only
reads a value before writing it. But, the queue is not suited to the Keys
database.
This commit is contained in:
Joey Hess 2015-12-23 14:59:58 -04:00
parent b3690c4499
commit 6d38f54db4
Failed to extract signature
5 changed files with 177 additions and 120 deletions

View file

@ -9,6 +9,6 @@ module Database.Keys.Types (
DbHandle(..)
) where
import qualified Database.Handle as H
import qualified Database.Queue as H
newtype DbHandle = DbHandle H.DbHandle
newtype DbHandle = DbHandle H.DbQueue