Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data SshSettings = SshSettings {}
- defaultSsh :: SshSettings
- windows :: Bool
- copySSH :: String -> SshFilePath -> FilePath -> IO ()
- data SSHCmd
- getSSH :: SSHCmd -> IO (String, [String])
- environmentHelpSsh :: ([String], [String])
- environmentHelpScp :: ([String], [String])
- environmentHelpSshPort :: ([String], [String])
- transferModeHeader :: String
- resetSshConnections :: IO ()
Documentation
data SshSettings Source #
Instances
Show SshSettings Source # | |
Defined in Darcs.Util.Ssh showsPrec :: Int -> SshSettings -> ShowS # show :: SshSettings -> String # showList :: [SshSettings] -> ShowS # | |
Eq SshSettings Source # | |
Defined in Darcs.Util.Ssh (==) :: SshSettings -> SshSettings -> Bool # (/=) :: SshSettings -> SshSettings -> Bool # |
getSSH :: SSHCmd -> IO (String, [String]) Source #
Return the command and arguments needed to run an ssh command First try the appropriate darcs environment variable and SSH_PORT defaulting to "ssh" and no specified port.
environmentHelpSsh :: ([String], [String]) Source #
environmentHelpScp :: ([String], [String]) Source #
environmentHelpSshPort :: ([String], [String]) Source #
resetSshConnections :: IO () Source #
Terminate all child processes that run a remote "darcs transfer-mode" and
remove them from the sshConnections
, causing subsequent copySSH
calls to
start a fresh child.