View Source
MyspaceIPFS.Api.Data.Block
(Myspace IPFS v0.0.1)
MyspaceIPFS.Api.Blocki is where the commands commands of the IPFS API reside.
@spec get(binary()) ::
{:client_error | :forbidden | :missing | :not_allowed | :ok | :server_error,
any()}
@spec put(binary()) ::
{:client_error | :forbidden | :missing | :not_allowed | :ok | :server_error,
any()}
@spec rm(binary()) ::
{:client_error | :forbidden | :missing | :not_allowed | :ok | :server_error,
any()}
@spec stat(binary()) ::
{:client_error | :forbidden | :missing | :not_allowed | :ok | :server_error,
any()}