summaryrefslogtreecommitdiff
path: root/doc/design/assistant/syncing.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-07-05 10:34:47 -0600
committerGravatar Joey Hess <joey@kitenet.net>2012-07-05 10:34:47 -0600
commitc1728849a9b5d1e7803cf6a36f826a7bafdc667a (patch)
tree37961b450777102cfeb244e8e8b32a2e5aeaf2f4 /doc/design/assistant/syncing.mdwn
parent530c1b092a8658c8dab4261cd6a0de3a40cbfc6c (diff)
update
Diffstat (limited to 'doc/design/assistant/syncing.mdwn')
-rw-r--r--doc/design/assistant/syncing.mdwn9
1 files changed, 3 insertions, 6 deletions
diff --git a/doc/design/assistant/syncing.mdwn b/doc/design/assistant/syncing.mdwn
index d2248279f..caae60a32 100644
--- a/doc/design/assistant/syncing.mdwn
+++ b/doc/design/assistant/syncing.mdwn
@@ -16,7 +16,7 @@ all the other git clones, at both the git level and the key/value level.
* Poll transfer in progress info files for changes (use inotify again!
wow! hammer, meet nail..), and update the TransferInfo Map **done**
* enqueue Transfers (Uploads) as new files are added to the annex by
- Watcher.
+ Watcher. **done**
* enqueue Tranferrs (Downloads) as new dangling symlinks are noticed by
Watcher.
* Write basic Transfer handling thread. Multiple such threads need to be
@@ -82,11 +82,8 @@ anyway.
### transfer tracking
-* Upload added to queue by the watcher thread when it adds content.
-* Download added to queue by the watcher thread when it seens new symlinks
- that lack content.
-* Transfer threads started/stopped as necessary to move data.
- (May sometimes want multiple threads downloading, or uploading, or even both.)
+Transfer threads started/stopped as necessary to move data.
+(May sometimes want multiple threads downloading, or uploading, or even both.)
startTransfer :: TransferQueue -> Transfer -> Annex ()
startTransfer q transfer = error "TODO"