summaryrefslogtreecommitdiff
path: root/Annex/Content.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-07-29 18:40:40 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-07-29 18:41:41 -0400
commita2dfbf18972339929c49cb77e76cf246ada2acdc (patch)
treeb37fa5150d4a5c7ab76b58181fbd900157d915cb /Annex/Content.hs
parente55bc5640997362f1f77a5423f7556b307377f61 (diff)
better type for Retriever
Putting a callback in the Retriever type allows for the callback to remove the retrieved file when it's done with it. I did not really want to make Retriever be fixed to Annex Bool, but when I tried to use Annex a, I got into some type of type mess.
Diffstat (limited to 'Annex/Content.hs')
-rw-r--r--Annex/Content.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Annex/Content.hs b/Annex/Content.hs
index 6975f322f..eb84f2fe9 100644
--- a/Annex/Content.hs
+++ b/Annex/Content.hs
@@ -16,6 +16,7 @@ module Annex.Content (
getViaTmpChecked,
getViaTmpUnchecked,
prepGetViaTmpChecked,
+ prepTmp,
withTmp,
checkDiskSpace,
moveAnnex,