diff options
author | 2013-12-10 23:19:18 -0400 | |
---|---|---|
committer | 2013-12-10 23:19:18 -0400 | |
commit | f864a68220a0d77b5b6a5c3f4f25743e8e76aae0 (patch) | |
tree | 3e9006aa151b5c8e2ba8562aeefbd6db23cde69f /GitAnnexShell.hs | |
parent | 180115645b86580d9077e95504b029152de15fa2 (diff) |
port transferkeys to windows; make stopping in progress transfers work too (probably)
transferkeys had used special FDs for communication, but that would be
quite annoying to do in Windows.
Instead, use stdin and stdout. But, to avoid commands like rsync stomping
on them and messing up the communications channel, they're duplicated to a
different handle; stdin is replaced with a null handle, and stdout is
replaced with a copy of stderr. This should all work in windows too.
Stopping in progress transfers may work on windows.. if the types unify
anyway. ;) May need some more porting.
Diffstat (limited to 'GitAnnexShell.hs')
0 files changed, 0 insertions, 0 deletions