Module Make.Eris

type urn
val of_iri : Rdf.Iri.t -> urn option
val of_iri_exn : Rdf.Iri.t -> urn
val to_iri : urn -> Rdf.Iri.t
val to_cbor : urn -> Cbor.t
val cbor_parser : urn Angstrom.t
val pp : urn Fmt.t
val get : urn -> tree -> string Lwt.t

get urn tree decodes the ERIS encoded content with read capability urn from blocks in the store.

val get_object : urn -> tree -> (FragmentGraph.t, string) Result.t Lwt.t

get_object urn tree decodes the ERIS encoded content with read capability urn as Fragment Graph.