Safe Haskell | None |
---|---|
Language | Haskell2010 |
B9.B9Config.Repository
- 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
- remoteRepoToCPDocument :: RemoteRepo -> CPDocument -> Either CPError CPDocument
- parseRemoteRepos :: CPDocument -> Either CPError [RemoteRepo]
Documentation
data RemoteRepo #
Constructors
RemoteRepo String FilePath SshPrivKey SshRemoteHost SshRemoteUser |
Instances
remoteRepoRepoId :: RemoteRepo -> String #
remoteRepoToCPDocument :: RemoteRepo -> CPDocument -> Either CPError CPDocument #
Persist a repo to a configuration file.
parseRemoteRepos :: CPDocument -> Either CPError [RemoteRepo] #
Load a repository from a configuration file that has been written by
writeRepositoryToB9Config
.