-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/

-- | Types for Casa
--   
--   Types for Casa (Content-Addressable Storage Archive). See
--   https://casa.stackage.org/
@package casa-types
@version 0.0.3

-- | Types and functions for use with Casa (Content-Addressable Storage
--   Archive). See https://casa.stackage.org/.
module Casa.Types

-- | A SHA256 key to address blobs.
newtype BlobKey
BlobKey :: ByteString -> BlobKey
[unBlobKey] :: BlobKey -> ByteString

-- | Parse a blob key in hex format.
blobKeyHexParser :: Text -> Either String BlobKey

-- | Parse a blob key in binary format.
blobKeyBinaryParser :: Parser BlobKey

-- | Yield a Builder value corresponding to the given BlobKey
--   value.
blobKeyToBuilder :: BlobKey -> Builder
instance GHC.Classes.Eq Casa.Types.BlobKey
instance Data.Aeson.Types.FromJSON.FromJSON Casa.Types.BlobKey
instance Data.Hashable.Class.Hashable Casa.Types.BlobKey
instance GHC.Classes.Ord Casa.Types.BlobKey
instance Web.PathPieces.PathPiece Casa.Types.BlobKey
instance Database.Persist.Class.PersistField.PersistField Casa.Types.BlobKey
instance Database.Persist.Sql.Class.PersistFieldSql Casa.Types.BlobKey
instance GHC.Internal.Read.Read Casa.Types.BlobKey
instance GHC.Internal.Show.Show Casa.Types.BlobKey
instance Data.Aeson.Types.ToJSON.ToJSON Casa.Types.BlobKey
