ipfs-1.0.0: Access IPFS locally and remotely

Safe HaskellNone
LanguageHaskell2010

Network.IPFS.SparseTree.Types

Synopsis

Documentation

data SparseTree Source #

Directory structure for CIDs and other identifiers

Examples:

Content "abcdef"
show $ Directory [(Key "abcdef", Stub "myfile.txt")])]

"abcdef/myfile.txt"

Instances
Eq SparseTree Source # 
Instance details

Defined in Network.IPFS.SparseTree.Types

Show SparseTree Source # 
Instance details

Defined in Network.IPFS.SparseTree.Types

Generic SparseTree Source # 
Instance details

Defined in Network.IPFS.SparseTree.Types

Associated Types

type Rep SparseTree :: Type -> Type #

ToJSON SparseTree Source # 
Instance details

Defined in Network.IPFS.SparseTree.Types

Display SparseTree Source # 
Instance details

Defined in Network.IPFS.SparseTree.Types

ToSchema SparseTree Source # 
Instance details

Defined in Network.IPFS.SparseTree.Types

Display (Map Tag SparseTree) Source # 
Instance details

Defined in Network.IPFS.SparseTree.Types

type Rep SparseTree Source # 
Instance details

Defined in Network.IPFS.SparseTree.Types

data Tag Source #

Constructors

Key Name 
Hash CID 
Instances
Eq Tag Source # 
Instance details

Defined in Network.IPFS.SparseTree.Types

Methods

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

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

Ord Tag Source # 
Instance details

Defined in Network.IPFS.SparseTree.Types

Methods

compare :: Tag -> Tag -> Ordering #

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

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

(>) :: Tag -> Tag -> Bool #

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

max :: Tag -> Tag -> Tag #

min :: Tag -> Tag -> Tag #

Show Tag Source # 
Instance details

Defined in Network.IPFS.SparseTree.Types

Methods

showsPrec :: Int -> Tag -> ShowS #

show :: Tag -> String #

showList :: [Tag] -> ShowS #

Generic Tag Source # 
Instance details

Defined in Network.IPFS.SparseTree.Types

Associated Types

type Rep Tag :: Type -> Type #

Methods

from :: Tag -> Rep Tag x #

to :: Rep Tag x -> Tag #

ToJSON Tag Source # 
Instance details

Defined in Network.IPFS.SparseTree.Types

ToJSONKey Tag Source # 
Instance details

Defined in Network.IPFS.SparseTree.Types

FromJSON Tag Source # 
Instance details

Defined in Network.IPFS.SparseTree.Types

FromJSONKey Tag Source # 
Instance details

Defined in Network.IPFS.SparseTree.Types

FromHttpApiData Tag Source # 
Instance details

Defined in Network.IPFS.SparseTree.Types

Display Tag Source # 
Instance details

Defined in Network.IPFS.SparseTree.Types

ToSchema Tag Source # 
Instance details

Defined in Network.IPFS.SparseTree.Types

Display (Map Tag SparseTree) Source # 
Instance details

Defined in Network.IPFS.SparseTree.Types

type Rep Tag Source # 
Instance details

Defined in Network.IPFS.SparseTree.Types

type Rep Tag = D1 (MetaData "Tag" "Network.IPFS.SparseTree.Types" "ipfs-1.0.0-1W9AKyPOZM0J0mc1hyzEwG" False) (C1 (MetaCons "Key" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Name)) :+: C1 (MetaCons "Hash" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 CID)))