View Source MyspaceIPFS.Filestore (Myspace IPFS v0.2.0-alpha.1)

MyspaceIPFS.Filestore is where the filestore commands of the IPFS API reside.

Link to this section Summary

Functions

List blocks that are both in the filestore and standard block storage.

List objects in the filestore.

Verify objects in the filestore.

Link to this section Functions

@spec dups() :: {:ok, any()} | MyspaceIPFS.Api.error_response()

List blocks that are both in the filestore and standard block storage.

@spec ls(list()) :: {:ok, any()} | MyspaceIPFS.Api.error_response()

List objects in the filestore.

options

Options

https://docs.ipfs.io/reference/http/api/#api-v0-filestore-ls

[
  arg: <string>, # CID of objects to list.
  file-order: <bool>, # sort the results based on the path of the backing file.
]
@spec verify(list()) :: {:ok, any()} | MyspaceIPFS.Api.error_response()

Verify objects in the filestore.

options

Options

https://docs.ipfs.io/reference/http/api/#api-v0-filestore-verify

[
  arg: <string>, # CID of objects to list.
  file-order: <bool>, # sort the results based on the path of the backing file.
]