web3-ipfs-1.0.0.0: IPFS support for Haskell Web3 library.
CopyrightAleksandr Krupenkin 2016-2021
LicenseApache-2.0
Maintainermail@akru.me
Stabilityexperimental
Portabilityunknown
Safe HaskellNone
LanguageHaskell2010

Network.Ipfs.Api.Core

Description

Core IPFS API calls.

Synopsis

Documentation

cat :: MonadIO m => Text -> IpfsT m CatReturnType Source #

Show IPFS object data.

add :: MonadIO m => Text -> IpfsT m (Maybe AddObj) Source #

Add a file or directory to ipfs.

ls :: MonadIO m => Text -> IpfsT m LsObj Source #

List directory contents for Unix filesystem objects.

get :: MonadIO m => Text -> IpfsT m Text Source #

Download IPFS objects.

version :: MonadIO m => IpfsT m VersionObj Source #

Show ipfs version information.

id :: MonadIO m => IpfsT m IdObj Source #

Show ipfs node id info.

idPeer :: MonadIO m => Text -> IpfsT m IdObj Source #

Show ipfs node id info of the given peerId.

dns :: MonadIO m => Text -> IpfsT m DnsObj Source #

Resolve DNS links.

refs :: MonadIO m => Text -> m () Source #

List links (references) from an object.

refsLocal :: MonadIO m => m () Source #

List all local references.

ping :: MonadIO m => Text -> m () Source #

Send echo request packets to IPFS hosts.

shutdown :: MonadIO m => IpfsT m NoContent Source #

Shut down the ipfs daemon.