ipfs-1.0.1: Access IPFS locally and remotely

Safe HaskellNone
LanguageHaskell2010

Network.IPFS.SparseTree

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

newtype Linearization Source #

Constructors

NonLinear SparseTree 
Instances
Eq Linearization Source # 
Instance details

Defined in Network.IPFS.Error

Show Linearization Source # 
Instance details

Defined in Network.IPFS.Error

Generic Linearization Source # 
Instance details

Defined in Network.IPFS.Error

Associated Types

type Rep Linearization :: Type -> Type #

ToJSON Linearization Source # 
Instance details

Defined in Network.IPFS.Error

Exception Linearization Source # 
Instance details

Defined in Network.IPFS.Error

Display Linearization Source # 
Instance details

Defined in Network.IPFS.Error

type Rep Linearization Source # 
Instance details

Defined in Network.IPFS.Error

type Rep Linearization = D1 (MetaData "Linearization" "Network.IPFS.Error" "ipfs-1.0.1-1bnI2LaLNRVEx6nrkfb5Av" True) (C1 (MetaCons "NonLinear" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 SparseTree)))

cIDs :: (Monoid (f CID), Applicative f) => SparseTree -> f CID Source #

Get all CIDs from a SparseTree (all levels)