This commit is contained in:
Joey Hess 2012-07-02 13:49:27 -04:00
parent 7daa269853
commit 0c0fd0c54c
2 changed files with 7 additions and 3 deletions

View file

@ -27,7 +27,12 @@ data Transfer = Transfer
}
deriving (Show, Eq, Ord)
{- Information about a Transfer, stored in the transfer information file. -}
{- Information about a Transfer, stored in the transfer information file.
-
- Note that the associatedFile may not correspond to a file in the local
- git repository. It's some file, possibly relative to some directory,
- of some repository, that was acted on to initiate the transfer.
-}
data TransferInfo = TransferInfo
{ startedTime :: UTCTime
, transferPid :: Maybe ProcessID

View file

@ -7,8 +7,7 @@ all the other git clones, at both the git level and the key/value level.
**done**
* locking for the files, so redundant transfer races can be detected,
and failed transfers noticed **done**
* transfer info for git-annex-shell (problem: how to add a switch
with the necessary info w/o breaking backwards compatability?)
* transfer info for git-annex-shell **done**
* update files as transfers proceed. See [[progressbars]]
(updating for downloads is easy; for uploads is hard)
* add Transfer queue TChan