Safe Haskell | None |
---|---|
Language | Haskell2010 |
Pigy.Ipfs
Description
IPFS pinning for pig images.
Synopsis
- pinImage :: MonadFail m => MonadIO m => FilePath -> FilePath -> Genotype -> MantisM m (Chromosome, String)
Documentation
Arguments
:: MonadFail m | |
=> MonadIO m | |
=> FilePath | The IPFS shell script. |
-> FilePath | The folder for images. |
-> Genotype | The genotype of the image. |
-> MantisM m (Chromosome, String) | Action for pinning the image and returning its chromosome and IPFS CID. |
Pin an image to IPFS.