View Source ExIpfs.Refs (Elixir IPFS v0.0.1)

ExIpfs.Refs is where the main commands of the IPFS API reside.

Link to this section Summary

Functions

Get a list of all local references.

Get a list of all references from a given path.

Link to this section Functions

@spec local() :: {:ok, ExIpfs.ref()} | ExIpfs.Api.error_response()

Get a list of all local references.

Response is a list of Refs.t().

@spec refs(Path.t(), list()) :: {:ok, any()} | ExIpfs.Api.error_response()

Get a list of all references from a given path.

options

Options

https://docs.ipfs.tech/reference/kubo/rpc/#api-v0-refs