package plebeia

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Monad : 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 = Monad.Infix
module Syntax = Monad.Syntax
val lift_result : ('a, 'b) Plebeia.Result.t -> 'c -> ('c * 'a, 'b) Plebeia.Result.t
val check_cursor_invariant : cursor -> (cursor * unit, 'a) Stdlib.result
val fail : error -> 'a t
val raw_cursor : Plebeia.Cursor.t t
val path : Path.t t
val view : view t
val chdir_parent : cursor -> (cursor * unit, Plebeia.Error.t) Stdlib.result
val chdir_root : cursor -> (cursor * unit, Plebeia.Error.t) Stdlib.result
val chdir : ?dig:bool -> Path.t -> unit t
module Loose : sig ... end
val with_pushd : (cursor -> (cursor * 'a, Plebeia.Error.t) Stdlib.result) -> cursor -> (cursor * 'a, Plebeia.Error.t) Stdlib.result
val get : Path.t -> cursor -> (cursor * (cursor * view), Plebeia.Error.t) Stdlib.result
val cat : Path.t -> cursor -> (cursor * Plebeia.Value.t, Plebeia.Error.t) Stdlib.result
val write : Path.name list -> Plebeia.Value.t -> cursor -> (cursor * unit, Plebeia.Error.t) Stdlib.result
val set : Name.t list -> cursor -> cursor -> (cursor * unit, Plebeia.Error.t) Stdlib.result
val copy : Path.t -> Name.t list -> unit t
val rm : ?recursive:bool -> ?ignore_error:bool -> Path.t -> cursor -> (cursor * bool, Plebeia.Error.t) Stdlib.result
val rmdir : ?ignore_error:bool -> Path.t -> cursor -> (cursor * bool, Plebeia.Error.t) Stdlib.result
val do_then : (cursor -> 'b) -> 'a t -> cursor -> (cursor * 'a, Plebeia.Error.t) Stdlib.result
val run : 'a -> ('a -> 'b) -> 'b
val compute_hash : cursor -> (cursor * Plebeia.Hash.Prefix.t, 'a) Stdlib.result
val may_forget : cursor -> (cursor * unit, 'a) Stdlib.result
OCaml

Innovation. Community. Security.