package xenstore

  1. Overview
  2. Docs

Module Xenstore_server.TransactionSource

Sourceval debug : ('a, unit, string, unit) format4 -> 'a
Sourceval none : int32
Sourceval test_eagain : bool ref
Sourceval check_parents_perms_identical : Store.Node.t -> Store.Node.t -> Store.Path.t -> bool
Sourceval get_lowest : Store.Path.t -> Store.Path.t option -> Store.Path.t option
Sourceval test_coalesce : Store.Node.t -> Store.Node.t -> Store.Path.t -> bool
Sourceval can_coalesce : Store.Node.t -> Store.Node.t -> Store.Path.t -> bool
Sourcetype ty =
  1. | No
  2. | Full of int32 * Store.Node.t * Store.t
Sourcetype t = {
  1. ty : ty;
  2. store : Store.t;
  3. quota : Quota.t;
  4. mutable paths : (Xs_protocol.Op.t * Store.Name.t) list;
  5. mutable operations : (Xs_protocol.Request.payload * Xs_protocol.Response.payload) list;
  6. mutable read_lowpath : Store.Path.t option;
  7. mutable write_lowpath : Store.Path.t option;
}
Sourceval make : int32 -> Store.t -> t
Sourceval get_id : t -> int32
Sourceval get_store : t -> Store.t
Sourceval get_paths : t -> (Xs_protocol.Op.t * Store.Name.t) list
Sourceval add_wop : t -> Xs_protocol.Op.t -> Store.Path.t -> unit
Sourceval set_read_lowpath : t -> Store.Path.t -> unit
Sourceval set_write_lowpath : t -> Store.Path.t -> unit
Sourceval exists : t -> 'a -> Store.Path.t -> bool
Sourceval write : t -> int -> Perms.t -> Store.Path.t -> string -> unit
Sourceval mkdir : ?with_watch:bool -> t -> int -> Perms.t -> Store.Path.t -> unit
Sourceval setperms : t -> Perms.t -> Store.Path.t -> Xs_protocol.ACL.t -> unit
Sourceval rm : t -> Perms.t -> Store.Path.t -> unit
Sourceval list : t -> Perms.t -> Store.Path.t -> string list
Sourceval read : t -> Perms.t -> Store.Path.t -> string
Sourceval commit : con:string -> t -> bool
OCaml

Innovation. Community. Security.