From 76ccac53916d308aa4806d38bb8cfb6a9d1f9081 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 9 Dec 2015 17:00:37 -0400 Subject: add inode cache to the db Renamed the db to keys, since it is various info about a Keys. Dropping a key will update its pointer files, as long as their content can be verified to be unmodified. This falls back to checksum verification, but I want it to use an InodeCache of the key, for speed. But, I have not made anything populate that cache yet. --- Database/Keys/Types.hs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Database/Keys/Types.hs (limited to 'Database/Keys') diff --git a/Database/Keys/Types.hs b/Database/Keys/Types.hs new file mode 100644 index 000000000..a627b3ca5 --- /dev/null +++ b/Database/Keys/Types.hs @@ -0,0 +1,14 @@ +{- Sqlite database of information about Keys, data types. + - + - Copyright 2015 Joey Hess + -: + - Licensed under the GNU GPL version 3 or higher. + -} + +module Database.Keys.Types ( + DbHandle(..) +) where + +import qualified Database.Handle as H + +newtype DbHandle = DbHandle H.DbHandle -- cgit v1.2.3