package xenstore

  1. Overview
  2. Docs
Xenstore protocol in pure OCam

Install

Dune Dependency

Authors

Maintainers

Sources

xenstore-2.4.0.tbz
sha256=11b63bb2a5a8bc487d36f36ecb195b2a2135aa13ab401cbc73da67505c08faa4
sha512=b921aa4265503677f4984007efee6865461a18031dc49583be040781307cc6cbfcd84bc11e9ebc0a23e9b0cf281bd94528c475624bc30471ad8ff70607e0732f

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.