lifted Assistant.Sync into Assistant monad
lots of nice cleanups
This commit is contained in:
parent
1948202b32
commit
5d57b28a34
9 changed files with 88 additions and 117 deletions
|
@ -42,10 +42,7 @@ finishedPairing msg keypair = do
|
|||
, "git-annex-shell -c configlist " ++ T.unpack (sshDirectory sshdata)
|
||||
]
|
||||
""
|
||||
st <- getAssistant threadState
|
||||
dstatus <- getAssistant daemonStatusHandle
|
||||
scanremotes <- getAssistant scanRemoteMap
|
||||
void $ liftIO $ makeSshRemote st dstatus scanremotes False sshdata
|
||||
void $ makeSshRemote False sshdata
|
||||
|
||||
{- Mostly a straightforward conversion. Except:
|
||||
- * Determine the best hostname to use to contact the host.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue