aboutsummaryrefslogtreecommitdiff
path: root/Types.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2010-10-10 19:53:31 -0400
committerGravatar Joey Hess <joey@kitenet.net>2010-10-10 19:53:31 -0400
commit344f13394fe5b12cbdd5eeb99bb63892c7096bfd (patch)
tree478ad78d49e9c3515bee1cd2afd24d3e435a19eb /Types.hs
parent93d2dc0d6878ccb1067376d2a03193c222429d3e (diff)
update
Diffstat (limited to 'Types.hs')
-rw-r--r--Types.hs6
1 files changed, 4 insertions, 2 deletions
diff --git a/Types.hs b/Types.hs
index e1f598f0f..6e3727e25 100644
--- a/Types.hs
+++ b/Types.hs
@@ -13,9 +13,11 @@ data Backend = Backend {
-- converts a filename to a key
getKey :: GitRepo -> FilePath -> IO (Maybe Key),
-- stores a file's contents to a key
- storeFileKey :: GitRepo -> FilePath -> Key -> IO (Bool),
+ storeFileKey :: GitRepo -> FilePath -> Key -> IO Bool,
-- retrieves a key's contents to a file
- retrieveKeyFile :: IO Key -> FilePath -> IO (Bool)
+ retrieveKeyFile :: Key -> FilePath -> IO Bool,
+ -- removes a key
+ removeKey :: Key -> IO Bool
}
-- a git repository