View Source MyspaceIPFS.Config (Myspace IPFS v0.1.0-alpha.1)

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

Link to this section Summary

Link to this section Functions

Link to this function

config(key, value \\ nil, opts \\ [])

View Source
@spec config(name(), name(), opts()) :: result()

Get the value of a config key.

parameters

Parameters

key: The key to get the value of. value: the value to set the key to (optional). opts: The options to pass to the command (optional).

options

Options

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

[
  arg: "<string>", # the value of the key to set
  bool: "<bool>",
  file: "<string>",
  json: "<bool>",
]
Link to this function

version(num \\ false, comm \\ false, repo \\ false, all \\ false)

View Source