summaryrefslogtreecommitdiff
path: root/Command/SendKey.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-11-19 13:18:23 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-11-19 13:18:23 -0400
commit798c3d45c11cfe3d7604b27f3271f50d0f810db7 (patch)
tree946bf6b717e069623d8c48a93402e08db564dcd5 /Command/SendKey.hs
parent8ed7d090ab319bcc45e1593cd2613d38a3615120 (diff)
directory special remote: Made more efficient and robust.
Files are now written to a tmp directory in the remote, and once all chunks are written, etc, it's moved into the final place atomically. For now, checkpresent still checks every single chunk of a file, because the old method could leave partially transferred files with some chunks present and others not.
Diffstat (limited to 'Command/SendKey.hs')
-rw-r--r--Command/SendKey.hs1
1 files changed, 0 insertions, 1 deletions
diff --git a/Command/SendKey.hs b/Command/SendKey.hs
index 2aae1ab90..ccbfa9030 100644
--- a/Command/SendKey.hs
+++ b/Command/SendKey.hs
@@ -12,7 +12,6 @@ import Command
import Annex.Content
import Utility.Rsync
import Logs.Transfer
-import Types.Remote
import qualified Fields
def :: [Command]