ipfs-1.0.0: Access IPFS locally and remotely

Safe HaskellNone
LanguageHaskell2010

Network.IPFS.CID.Types

Synopsis

Documentation

newtype CID Source #

Constructors

CID 

Fields

Instances
Eq CID Source # 
Instance details

Defined in Network.IPFS.CID.Types

Methods

(==) :: CID -> CID -> Bool #

(/=) :: CID -> CID -> Bool #

Ord CID Source # 
Instance details

Defined in Network.IPFS.CID.Types

Methods

compare :: CID -> CID -> Ordering #

(<) :: CID -> CID -> Bool #

(<=) :: CID -> CID -> Bool #

(>) :: CID -> CID -> Bool #

(>=) :: CID -> CID -> Bool #

max :: CID -> CID -> CID #

min :: CID -> CID -> CID #

Read CID Source # 
Instance details

Defined in Network.IPFS.CID.Types

Show CID Source # 
Instance details

Defined in Network.IPFS.CID.Types

Methods

showsPrec :: Int -> CID -> ShowS #

show :: CID -> String #

showList :: [CID] -> ShowS #

IsString CID Source # 
Instance details

Defined in Network.IPFS.CID.Types

Methods

fromString :: String -> CID #

Generic CID Source # 
Instance details

Defined in Network.IPFS.CID.Types

Associated Types

type Rep CID :: Type -> Type #

Methods

from :: CID -> Rep CID x #

to :: Rep CID x -> CID #

ToJSON CID Source # 
Instance details

Defined in Network.IPFS.CID.Types

FromJSON CID Source # 
Instance details

Defined in Network.IPFS.CID.Types

ToHttpApiData CID Source # 
Instance details

Defined in Network.IPFS.CID.Types

FromHttpApiData CID Source # 
Instance details

Defined in Network.IPFS.CID.Types

Display CID Source # 
Instance details

Defined in Network.IPFS.CID.Types

ToSchema CID Source # 
Instance details

Defined in Network.IPFS.CID.Types

ToParamSchema CID Source # 
Instance details

Defined in Network.IPFS.CID.Types

MimeRender PlainText CID Source # 
Instance details

Defined in Network.IPFS.CID.Types

MimeRender OctetStream CID Source # 
Instance details

Defined in Network.IPFS.CID.Types

MimeUnrender PlainText CID Source # 
Instance details

Defined in Network.IPFS.CID.Types

MimeUnrender PlainText [CID] Source # 
Instance details

Defined in Network.IPFS.CID.Types

type Rep CID Source # 
Instance details

Defined in Network.IPFS.CID.Types

type Rep CID = D1 (MetaData "CID" "Network.IPFS.CID.Types" "ipfs-1.0.0-1W9AKyPOZM0J0mc1hyzEwG" True) (C1 (MetaCons "CID" PrefixI True) (S1 (MetaSel (Just "unaddress") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))

mkCID :: Text -> CID Source #

Smart constructor for CID