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 11:01:53 -0600
commitbd2c4c982d79d72c67da838c71c869194d26ea4d (patch)
tree358196f640425309bef2b02f246fc5e0f38663b9 /doc/design/assistant/syncing.mdwn
parent530c1b092a8658c8dab4261cd6a0de3a40cbfc6c (diff)
update
Diffstat (limited to 'doc/design/assistant/syncing.mdwn')
-rw-r--r--doc/design/assistant/syncing.mdwn11
1 files changed, 4 insertions, 7 deletions
diff --git a/doc/design/assistant/syncing.mdwn b/doc/design/assistant/syncing.mdwn
index d2248279f..d4d89d03b 100644
--- a/doc/design/assistant/syncing.mdwn
+++ b/doc/design/assistant/syncing.mdwn
@@ -16,9 +16,9 @@ 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.
+ Watcher. **done**
* Write basic Transfer handling thread. Multiple such threads need to be
able to be run at once. Each will need its own independant copy of the
Annex state monad.
@@ -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"