Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data RemoteRepo = RemoteRepo String FilePath SshPrivKey SshRemoteHost SshRemoteUser
- remoteRepoRepoId :: RemoteRepo -> String
- newtype RepoCache = RepoCache FilePath
- newtype SshPrivKey = SshPrivKey FilePath
- newtype SshRemoteHost = SshRemoteHost (String, Int)
- newtype SshRemoteUser = SshRemoteUser String
- remoteRepoToConfigParser :: RemoteRepo -> ConfigParser -> Either CPError ConfigParser
- parseRemoteRepos :: ConfigParser -> Either CPError [RemoteRepo]
Documentation
data RemoteRepo Source #
remoteRepoRepoId :: RemoteRepo -> String Source #
newtype SshPrivKey Source #
newtype SshRemoteHost Source #
newtype SshRemoteUser Source #
remoteRepoToConfigParser :: RemoteRepo -> ConfigParser -> Either CPError ConfigParser Source #
Persist a repo to a configuration file.
parseRemoteRepos :: ConfigParser -> Either CPError [RemoteRepo] Source #
Load a repository from a configuration file that has been written by
writeRepositoryToB9Config
.