diff options
author | Joey Hess <joey@kitenet.net> | 2010-10-10 19:53:31 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-10-10 19:53:31 -0400 |
commit | 344f13394fe5b12cbdd5eeb99bb63892c7096bfd (patch) | |
tree | 478ad78d49e9c3515bee1cd2afd24d3e435a19eb /Types.hs | |
parent | 93d2dc0d6878ccb1067376d2a03193c222429d3e (diff) |
update
Diffstat (limited to 'Types.hs')
-rw-r--r-- | Types.hs | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |