package ldp

  1. Overview
  2. Docs

Handling containers.

type tree =
  1. | NRDF of Iri.t * Ct.t
    (*

    A non-RDF resource with its IRI and content-type

    *)
  2. | RDF of Iri.t
    (*

    A RDF resource with its IRI

    *)
  3. | CONT of Iri.t * tree list
    (*

    A container with its IRI and children.

    *)

A tree of containers.

val node_text : tree -> string

Returns a string representation for the give tree node (not recursive).

module type S = sig ... end

Result of the Make functor.

module Make (P : Http.Http) : S

Make(Http) returns a S using the given Http implementation to perform operations.