CPub.ERIS (CPub v0.3.0) View Source

ERIS bindings to mnesia database.

Link to this section Summary

Functions

Delete ERIS-encoded data blocks from database.any()

Decode ERIS encoded content given a read capability.

Encode some data using ERIS and persist block to database.any()

Link to this section Functions

Specs

delete(RDF.FragmentGraph.t() | String.t()) :: {:ok, nil}

Delete ERIS-encoded data blocks from database.any()

Specs

get(ERIS.ReadCapability.t()) :: {:ok, {:ok, String.t()}}

Decode ERIS encoded content given a read capability.

Specs

get_rdf(String.t() | RDF.IRI.t() | ERIS.ReadCapability.t()) ::
  :ok | {:ok, RDF.FragmentGraph.t()} | {:error, any()}

Specs

Encode some data using ERIS and persist block to database.any()