Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- 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 Source #
Instances
remoteRepoRepoId :: RemoteRepo -> String Source #
Instances
Data RepoCache Source # | |
Defined in B9.B9Config.Repository gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RepoCache -> c RepoCache # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RepoCache # toConstr :: RepoCache -> Constr # dataTypeOf :: RepoCache -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c RepoCache) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RepoCache) # gmapT :: (forall b. Data b => b -> b) -> RepoCache -> RepoCache # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RepoCache -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RepoCache -> r # gmapQ :: (forall d. Data d => d -> u) -> RepoCache -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> RepoCache -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> RepoCache -> m RepoCache # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RepoCache -> m RepoCache # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RepoCache -> m RepoCache # | |
Read RepoCache Source # | |
Show RepoCache Source # | |
newtype SshPrivKey Source #
Instances
newtype SshRemoteHost Source #
Instances
newtype SshRemoteUser Source #
Instances
remoteRepoToCPDocument :: RemoteRepo -> CPDocument -> Either CPError CPDocument Source #
Persist a repo to a configuration file.
parseRemoteRepos :: CPDocument -> Either CPError [RemoteRepo] Source #
Load a repository from a configuration file that has been written by
writeRepositoryToB9Config
.