diff options
author | Joey Hess <joey@kitenet.net> | 2012-09-21 14:50:14 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-09-21 14:50:14 -0400 |
commit | 226781c047a50747f5c60a6cf4920a43cd3a3a73 (patch) | |
tree | 0a5ead6c80110d533630db1875a9ebc10dea176d /Remote/Directory.hs | |
parent | 6873d785f050cbfb2aa7bd67fcdb29ab585ec291 (diff) |
unify types
Diffstat (limited to 'Remote/Directory.hs')
-rw-r--r-- | Remote/Directory.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Remote/Directory.hs b/Remote/Directory.hs index 2bf44634d..9eada0635 100644 --- a/Remote/Directory.hs +++ b/Remote/Directory.hs @@ -124,7 +124,7 @@ withCheckedFiles check (Just _) d k a = go $ locations d k withStoredFiles :: ChunkSize -> FilePath -> Key -> ([FilePath] -> IO Bool) -> IO Bool withStoredFiles = withCheckedFiles doesFileExist -store :: FilePath -> ChunkSize -> Key -> AssociatedFile -> ProgressCallback -> Annex Bool +store :: FilePath -> ChunkSize -> Key -> AssociatedFile -> MeterUpdate -> Annex Bool store d chunksize k _f p = do src <- inRepo $ gitAnnexLocation k metered k $ \meterupdate -> @@ -139,7 +139,7 @@ store d chunksize k _f p = do storeSplit meterupdate chunksize dests =<< L.readFile src -storeEncrypted :: FilePath -> ChunkSize -> (Cipher, Key) -> Key -> ProgressCallback -> Annex Bool +storeEncrypted :: FilePath -> ChunkSize -> (Cipher, Key) -> Key -> MeterUpdate -> Annex Bool storeEncrypted d chunksize (cipher, enck) k p = do src <- inRepo $ gitAnnexLocation k metered k $ \meterupdate -> |