| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Curly.Core.VCS
Documentation
commitHash :: Commit -> Hash Source #
Constructors
| LibraryKey LibraryID (Proxy Bytes) | |
| AdditionalKey LibraryID String (Proxy (Signed (String, Bytes))) | |
| BranchesKey PublicKey (Proxy (Signed StampedBranches)) | |
| CommitKey Hash (Proxy Commit) | |
| OtherKey o |
Instances
| Functor VCKey Source # | |
| Serializable Bytes o => Serializable Bytes (VCKey o) Source # | |
| Format Bytes o => Format Bytes (VCKey o) Source # | |
| Serializable Bytes o => Eq (VCKey o) Source # | |
| Serializable Bytes o => Ord (VCKey o) Source # | |
| Show o => Show (VCKey o) Source # | |
| Generic (VCKey o) Source # | |
| type Rep (VCKey o) Source # | |
vcsProtoRoots :: IORef [FilePath] Source #
newtype Combined_VC vc1 vc2 a Source #
Constructors
| Combined_VC ((vc1 :.: vc2) a) |
Instances
| MonadVC vc1 _c1 => MonadTrans (Combined_VC vc1) Source # | |
| (Functor vc2, Functor vc1) => Functor (Combined_VC vc1 vc2) Source # | |
| (SemiApplicative vc2, SemiApplicative vc1) => SemiApplicative (Combined_VC vc1 vc2) Source # | |
| (Applicative vc2, Applicative vc1) => Applicative (Combined_VC vc1 vc2) Source # | |
| (MonadVC vc1 _c1, MonadVC vc2 _c2) => Monad (Combined_VC vc1 vc2) Source # | |
| (Unit vc2, Unit vc1) => Unit (Combined_VC vc1 vc2) Source # | |
| (MonadVC vc1 conn1, MonadVC vc2 conn2) => MonadVC (Combined_VC vc1 vc2) (conn1, conn2) Source # | |
combined_lift1 :: (Unit vc2, Functor vc1) => vc1 a -> Combined_VC vc1 vc2 a Source #
vcbStore :: (Serializable Bytes a, MonadIO m) => VCSBackend -> (Proxy a -> VCKey ()) -> a -> m () Source #
vcbLoad :: (Format Bytes a, MonadIO m) => VCSBackend -> (Proxy a -> VCKey ()) -> m (Maybe a) Source #
vcbLoadP :: (Format Bytes a, MonadIO m) => VCSBackend -> (Proxy a -> VCKey ()) -> ParserT s m a Source #
data VCSBackend Source #
Constructors
| MonadVC m s => VCSB_Native [String] s (forall a. m a -> IO a) |
Instances
nativeBackend :: String -> PortNumber -> VCSBackend Source #
fileBackend :: FilePath -> VCSBackend Source #
protoBackend :: String -> String -> VCSBackend Source #
getBranches :: MonadIO m => VCSBackend -> PublicKey -> m StampedBranches Source #