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.Files

Description

Api calls with files prefix.

Synopsis

Documentation

chcidVer :: MonadIO m => Text -> Int -> IpfsT m NoContent Source #

Change the cid version or hash function of the root node of a given mfsPath.

cp :: MonadIO m => Text -> Text -> IpfsT m NoContent Source #

Copy files into mfs.

flush :: MonadIO m => Text -> IpfsT m FilesFlushObj Source #

Flush a given path's data to disk.

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

List directories in the local mutable namespace.

mkdir :: MonadIO m => Text -> IpfsT m NoContent Source #

Make directories.

mv :: MonadIO m => Text -> Text -> IpfsT m NoContent Source #

Move files.

read :: MonadIO m => Text -> IpfsT m FilesReadType Source #

Read a file in a given mfs.

stat :: MonadIO m => Text -> IpfsT m FilesStatObj Source #

Display file status.

filesRm :: MonadIO m => Text -> IpfsT m NoContent Source #

Remove a file.

write :: MonadIO m => Text -> Text -> Bool -> IpfsT m Bool Source #

Write to a mutable file in a given filesystem.