summaryrefslogtreecommitdiff
path: root/Core.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2010-10-25 15:44:27 -0400
committerGravatar Joey Hess <joey@kitenet.net>2010-10-25 15:44:27 -0400
commit7fe4bfa20fc9e6ced0b0e933891becb0546b79bb (patch)
tree265cc61e77127cd6760af52de793787c3467c448 /Core.hs
parente29210d1dddb79abc0f93fc5175add8e10455688 (diff)
split commands into 3 phases
I feel like I just leveled up in Haskell.
Diffstat (limited to 'Core.hs')
-rw-r--r--Core.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Core.hs b/Core.hs
index 1d887792a..a97bf5090 100644
--- a/Core.hs
+++ b/Core.hs
@@ -110,6 +110,8 @@ getViaTmp key action = do
logStatus key ValuePresent
return True
else do
+ -- the tmp file is left behind, in case caller wants
+ -- to resume its transfer
return False
{- Output logging -}