View Source MyspaceIPFS.Api.Advanced (Myspace IPFS v1.0.0-dev)

MyspaceIPFS.Api is where the key commands of the IPFS API reside.

Link to this section Summary

Functions

Instruct daemon to mount IPFS and IPNS to the filesystem (read-only).

Resolve the value of names to IPFS.

Shutdown the IPFS daemon.

Link to this section Types

Link to this section Functions

Instruct daemon to mount IPFS and IPNS to the filesystem (read-only).

options

Options

https://docs.ipfs.tech/reference/kubo/rpc/#api-v0-mount Example of options:

[
  ipfs-path: "/ipfs",
  ipns-path: "/ipns"
]
Link to this function

resolve(path, opts \\ [])

View Source
@spec resolve(path(), opts()) :: result()

Resolve the value of names to IPFS.

options

Options

https://docs.ipfs.tech/reference/kubo/rpc/#api-v0-resolve Example of options:

[
  recursive: true,
  nocache: true,
  dht-record-count: 10,
  dht-timeout: 10
]
@spec shutdown() :: result()

Shutdown the IPFS daemon.