package plebeia

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include sig ... end
type 'a t = cursor -> (cursor * 'a, Plebeia.Error.t) Stdlib.result
val return : 'a -> 'a t
val bind : 'a t -> ('a -> 'b t) -> 'b t
val map : ('a -> 'b) -> 'a t -> 'b t
val mapM : ('a -> 'b t) -> 'a list -> 'b list t
val mapM_ : ('a -> unit t) -> 'a list -> unit t
val iterM : ('a -> unit t) -> 'a list -> unit t
val fold_leftM : ('a -> 'b -> 'a t) -> 'a -> 'b list -> 'a t
val parseM : ('a -> 'b list -> ('a * 'b list) t) -> 'a -> 'b list -> 'a t
module Infix : sig ... end
module Syntax : sig ... end
val fail : FsError.t -> 'a -> ('b, Plebeia.Error.t) Stdlib.result
val get_raw_cursor : 'a -> 'a
val raw_cursor : 'a -> ('a * 'a, 'b) Stdlib.result
val context : 'a -> 'b
val get_path : raw_cursor -> name list
val path : raw_cursor -> (raw_cursor * name list, 'a) Stdlib.result
val view : raw_cursor -> (raw_cursor * model_tree, 'a) Stdlib.result
val chdir_parent : raw_cursor -> (raw_cursor * unit, 'a) Stdlib.result
val chdir_root : raw_cursor -> (raw_cursor * unit, 'a) Stdlib.result
val seek : FsError.path -> (cursor * view) t
val seek' : Map.key list -> Path.t t
val chdir : ?dig:bool -> Map.key list -> unit t
val with_pushd : (raw_cursor -> (raw_cursor * 'a, 'b) Stdlib.result) -> raw_cursor -> (raw_cursor * 'a, 'b) Stdlib.result
val get : FsError.path -> cursor -> (cursor * (cursor * view), Plebeia.Error.t) Stdlib.result
val cat : FsError.path -> cursor -> (cursor * Plebeia.Value.t, Plebeia.Error.t) Stdlib.result
val write : Map.key list -> Plebeia.Value.t -> cursor -> (raw_cursor * unit, Plebeia.Error.t) Stdlib.result
val set : Map.key list -> raw_cursor -> cursor -> (cursor * unit, Plebeia.Error.t) Stdlib.result
val copy : FsError.path -> Map.key list -> unit t
val rm : ?recursive:bool -> ?ignore_error:bool -> FsError.path -> cursor -> (cursor * bool, Plebeia.Error.t) Stdlib.result
val rmdir : ?ignore_error:bool -> FsError.path -> cursor -> (cursor * bool, Plebeia.Error.t) Stdlib.result
val ls_no_lwt : Path.t -> (Name.t * cursor) list t
val do_then : (cursor -> 'b) -> 'a t -> cursor -> (cursor * 'a, Plebeia.Error.t) Stdlib.result
val run : 'a -> ('a -> 'b) -> 'b
val compute_hash : 'a -> ('a * string, 'b) Stdlib.result
val may_forget : 'a -> ('a * unit, 'b) Stdlib.result
OCaml

Innovation. Community. Security.