package plebeia

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Parameters

Signature

module F : sig ... end
module S : sig ... end
module Path = F.Path
type name = Name.t
type cursor = F.cursor * S.cursor
type raw_cursor = cursor
type view = F.view * S.view
type hash = F.hash
val make : 'a -> 'b -> 'c
type 'a op_lwt = cursor -> (cursor * 'a, Plebeia.Error.t) Stdlib.result Lwt.t
type error = F.error =
  1. | Is_file of string * Path.t
  2. | Is_directory of string * Path.t
  3. | No_such_file_or_directory of string * Path.t
  4. | File_or_directory_exists of string * Path.t
  5. | Path_decode_failure of Plebeia.Segment.t
  6. | Other of string * string
type Plebeia.Error.t +=
  1. | FS_error of error
val error_fs : error -> ('a, Plebeia.Error.t) Stdlib.result
val handle_conflict : string -> (('a, Plebeia.Error.t) Stdlib.result * ('b, Plebeia.Error.t) Stdlib.result) -> ('c, Plebeia.Error.t) Stdlib.result
module Op : sig ... end
module Op_lwt : sig ... end
val use_f : ('a -> ('b * 'c, 'd) Stdlib.result) -> ('a * 'e) -> (('b * 'e) * 'c, 'd) Stdlib.result
val write_top_cursor : (F.cursor * 'a) -> ((F.cursor * 'a) * (Plebeia.Index.t * Plebeia.Hash.Prefix.t), Plebeia.Error.t) Stdlib.result
val compute_hash : (F.cursor * 'a) -> ((F.cursor * 'a) * Plebeia.Hash.Prefix.t, 'b) Stdlib.result
val may_forget : (F.cursor * 'a) -> ((F.cursor * 'a) * unit, 'b) Stdlib.result
OCaml

Innovation. Community. Security.