git-annex/Remote
Joey Hess 7225c2bfc0 record transfer information on local git remotes
In order to record a semi-useful filename associated with the key,
this required plumbing the filename all the way through to the remotes'
storeKey and retrieveKeyFile.

Note that there is potential for deadlock here, narrowly avoided.
Suppose the repos are A and B. A sends file foo to B, and at the same
time, B gets file foo from A. So, A locks its upload transfer info file,
and then locks B's download transfer info file. At the same time,
B is taking the two locks in the opposite order. This is only not a
deadlock because the lock code does not wait, and aborts. So one of A or
B's transfers will be aborted and the other transfer will continue.
Whew!
2012-07-01 17:15:11 -04:00
..
Helper record transfer information on local git remotes 2012-07-01 17:15:11 -04:00
Bup.hs record transfer information on local git remotes 2012-07-01 17:15:11 -04:00
Directory.hs record transfer information on local git remotes 2012-07-01 17:15:11 -04:00
Git.hs record transfer information on local git remotes 2012-07-01 17:15:11 -04:00
Hook.hs record transfer information on local git remotes 2012-07-01 17:15:11 -04:00
List.hs use LANGUAGE CPP pragma, avoids running cpp on all the other sources 2012-04-17 18:37:40 -04:00
Rsync.hs record transfer information on local git remotes 2012-07-01 17:15:11 -04:00
S3.hs record transfer information on local git remotes 2012-07-01 17:15:11 -04:00
Web.hs record transfer information on local git remotes 2012-07-01 17:15:11 -04:00