package xenstore

  1. Overview
  2. Docs
Xenstore protocol in pure OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

xenstore-2.3.0.tbz
sha256=d63c6bbcb2d3c297767d83c0a0f6dd46cecfd4e691f1cf5c5b6554445ec1b3f4
sha512=5cea990ab16ef708e53605172f708dde6ed15981cca6890939274db6efde1e5b2f9ec5c659d4d2f4115c5e0c3b69bcacc798a0d7fd5c1b75b83ddccd699de189

doc/xenstore.server/Xenstore_server/Store/Path/index.html

Module Store.PathSource

Sourcetype t

Represents an absolute path within the xenstore tree

Sourceexception Doesnt_exist of string
Sourceval doesnt_exist : t -> 'a

doesnt_exist path raises the Doesnt_exist exception

Sourceval getdomainpath : int -> t

getdomainpath domid returns the default directory for domid

Sourceval create : string -> t -> t

create path default is the absolute path of path, where if path is relative then it is resolved relative to default

Sourceval to_name : t -> Name.t

to_name t returns the associated Name.t, suitable for watching

Sourceval to_string : t -> string

to_string t returns t as a '/'-separated path string

Sourceval to_string_list : t -> string list

to_string_list t returns t as a list of path element strings

Sourceval of_string_list : string list -> t

of_string_list l returns l as an instance of type t

Sourceval get_hierarchy : t -> t list

get_hierarchy t returns all t's on the path from the root node to t

Sourceval get_common_prefix : t -> t -> t

get_common_prefix a b returns the largest common prefix of a and b

Sourceval get_parent : t -> t

get_parent t returns the parent node of t. The parent of the root node is itself.

Sourceval make_relative : t -> Name.t -> Name.t

make_relative base name returns a Name.t which is name transformed into a relative path from base

OCaml

Innovation. Community. Security.