package irmin-pack

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

Module KV.MakeSource

Parameters

Signature

Sourcemodule H : sig ... end
Sourcemodule Index : sig ... end
Sourcemodule Io = Io.Unix
Sourcemodule Errs : sig ... end
Sourcemodule Control : sig ... end
Sourcemodule Aof : sig ... end
Sourcemodule File_manager : sig ... end
Sourcemodule Dict : sig ... end
Sourcemodule Dispatcher : sig ... end
Sourcemodule XKey : sig ... end
Sourcemodule X : sig ... end
Sourceval integrity_check : ?ppf:Format.formatter -> auto_repair:bool -> X.Repo.t -> ([> `Fixed of int | `No_error ], [> `Cannot_fix of string | `Corrupted of int ]) result
Sourcemodule Schema : sig ... end
Sourcetype repo = X.Repo.t
Sourcetype metadata = Schema.Metadata.t
Sourceval metadata_t : metadata Irmin.Type.t
Sourcetype contents = Schema.Contents.t
Sourceval contents_t : contents Irmin.Type.t
Sourceval commit_t : repo -> commit Irmin.Type.t
Sourcetype branch = Schema.Branch.t
Sourceval branch_t : branch Irmin.Type.t
Sourcetype slice = X.Slice.t
Sourcetype lca_error = [
  1. | `Max_depth_reached
  2. | `Too_many_lcas
]
Sourceval lca_error_t : lca_error Irmin.Type.t
Sourcetype ff_error = [
  1. | `Max_depth_reached
  2. | `No_change
  3. | `Rejected
  4. | `Too_many_lcas
]
Sourceval ff_error_t : ff_error Irmin.Type.t
Sourcemodule Info : sig ... end
Sourcetype contents_key = X.Contents.Key.t
Sourceval contents_key_t : contents_key Irmin.Type.t
Sourcetype node_key = X.Node.Key.t
Sourceval node_key_t : node_key Irmin.Type.t
Sourcetype commit_key = X.Commit.Key.t
Sourceval commit_key_t : commit_key Irmin.Type.t
Sourcemodule Repo : sig ... end
Sourceval empty : repo -> t Lwt.t
Sourceval main : repo -> t Lwt.t
Sourceval of_branch : repo -> branch -> t Lwt.t
Sourceval of_commit : commit -> t Lwt.t
Sourceval repo : t -> repo
Sourceval tree : t -> tree Lwt.t
Sourcemodule Status : sig ... end
Sourceval status : t -> Status.t
Sourcemodule Head : sig ... end
Sourcemodule Hash : sig ... end
Sourcemodule Commit : sig ... end
Sourcemodule Contents : sig ... end
Sourcemodule Tree : sig ... end
Sourceval kind : t -> path -> [ `Contents | `Node ] option Lwt.t
Sourceval list : t -> path -> (step * tree) list Lwt.t
Sourceval mem : t -> path -> bool Lwt.t
Sourceval mem_tree : t -> path -> bool Lwt.t
Sourceval find_all : t -> path -> (contents * metadata) option Lwt.t
Sourceval find : t -> path -> contents option Lwt.t
Sourceval get_all : t -> path -> (contents * metadata) Lwt.t
Sourceval get : t -> path -> contents Lwt.t
Sourceval find_tree : t -> path -> tree option Lwt.t
Sourceval get_tree : t -> path -> tree Lwt.t
Sourceval key : t -> path -> [ `Contents of contents_key | `Node of node_key ] option Lwt.t
Sourceval hash : t -> path -> hash option Lwt.t
Sourcetype write_error = [
  1. | `Conflict of string
  2. | `Test_was of tree option
  3. | `Too_many_retries of int
]
Sourceval write_error_t : write_error Irmin.Type.t
Sourceval set : ?retries:int -> ?allow_empty:bool -> ?parents:commit list -> info:Info.f -> t -> path -> contents -> (unit, write_error) result Lwt.t
Sourceval set_exn : ?retries:int -> ?allow_empty:bool -> ?parents:commit list -> info:Info.f -> t -> path -> contents -> unit Lwt.t
Sourceval set_tree : ?retries:int -> ?allow_empty:bool -> ?parents:commit list -> info:Info.f -> t -> path -> tree -> (unit, write_error) result Lwt.t
Sourceval set_tree_exn : ?retries:int -> ?allow_empty:bool -> ?parents:commit list -> info:Info.f -> t -> path -> tree -> unit Lwt.t
Sourceval remove : ?retries:int -> ?allow_empty:bool -> ?parents:commit list -> info:Info.f -> t -> path -> (unit, write_error) result Lwt.t
Sourceval remove_exn : ?retries:int -> ?allow_empty:bool -> ?parents:commit list -> info:Info.f -> t -> path -> unit Lwt.t
Sourceval test_and_set : ?retries:int -> ?allow_empty:bool -> ?parents:commit list -> info:Info.f -> t -> path -> test:contents option -> set:contents option -> (unit, write_error) result Lwt.t
Sourceval test_and_set_exn : ?retries:int -> ?allow_empty:bool -> ?parents:commit list -> info:Info.f -> t -> path -> test:contents option -> set:contents option -> unit Lwt.t
Sourceval test_and_set_tree : ?retries:int -> ?allow_empty:bool -> ?parents:commit list -> info:Info.f -> t -> path -> test:tree option -> set:tree option -> (unit, write_error) result Lwt.t
Sourceval test_and_set_tree_exn : ?retries:int -> ?allow_empty:bool -> ?parents:commit list -> info:Info.f -> t -> path -> test:tree option -> set:tree option -> unit Lwt.t
Sourceval test_set_and_get : ?retries:int -> ?allow_empty:bool -> ?parents:commit list -> info:(unit -> info) -> t -> path -> test:contents option -> set:contents option -> (commit option, write_error) result Lwt.t
Sourceval test_set_and_get_exn : ?retries:int -> ?allow_empty:bool -> ?parents:commit list -> info:(unit -> info) -> t -> path -> test:contents option -> set:contents option -> commit option Lwt.t
Sourceval test_set_and_get_tree : ?retries:int -> ?allow_empty:bool -> ?parents:commit list -> info:(unit -> info) -> t -> path -> test:tree option -> set:tree option -> (commit option, write_error) result Lwt.t
Sourceval test_set_and_get_tree_exn : ?retries:int -> ?allow_empty:bool -> ?parents:commit list -> info:(unit -> info) -> t -> path -> test:tree option -> set:tree option -> commit option Lwt.t
Sourceval merge : ?retries:int -> ?allow_empty:bool -> ?parents:commit list -> info:Info.f -> old:contents option -> t -> path -> contents option -> (unit, write_error) result Lwt.t
Sourceval merge_exn : ?retries:int -> ?allow_empty:bool -> ?parents:commit list -> info:Info.f -> old:contents option -> t -> path -> contents option -> unit Lwt.t
Sourceval merge_tree : ?retries:int -> ?allow_empty:bool -> ?parents:commit list -> info:Info.f -> old:tree option -> t -> path -> tree option -> (unit, write_error) result Lwt.t
Sourceval merge_tree_exn : ?retries:int -> ?allow_empty:bool -> ?parents:commit list -> info:Info.f -> old:tree option -> t -> path -> tree option -> unit Lwt.t
Sourceval with_tree : ?retries:int -> ?allow_empty:bool -> ?parents:commit list -> ?strategy:[ `Merge | `Set | `Test_and_set ] -> info:Info.f -> t -> path -> (tree option -> tree option Lwt.t) -> (unit, write_error) result Lwt.t
Sourceval with_tree_exn : ?retries:int -> ?allow_empty:bool -> ?parents:commit list -> ?strategy:[ `Merge | `Set | `Test_and_set ] -> info:Info.f -> t -> path -> (tree option -> tree option Lwt.t) -> unit Lwt.t
Sourceval clone : src:t -> dst:branch -> t Lwt.t
Sourceval watch : t -> ?init:commit -> (commit Irmin.Diff.t -> unit Lwt.t) -> watch Lwt.t
Sourceval watch_key : t -> path -> ?init:commit -> ((commit * tree) Irmin.Diff.t -> unit Lwt.t) -> watch Lwt.t
Sourceval unwatch : watch -> unit Lwt.t
Sourcetype !'a merge = info:Info.f -> ?max_depth:int -> ?n:int -> 'a -> (unit, Irmin.Merge.conflict) result Lwt.t
Sourceval merge_into : into:t -> t merge
Sourceval merge_with_branch : t -> branch merge
Sourceval merge_with_commit : t -> commit merge
Sourceval lcas : ?max_depth:int -> ?n:int -> t -> t -> (commit list, lca_error) result Lwt.t
Sourceval lcas_with_branch : t -> ?max_depth:int -> ?n:int -> branch -> (commit list, lca_error) result Lwt.t
Sourceval lcas_with_commit : t -> ?max_depth:int -> ?n:int -> commit -> (commit list, lca_error) result Lwt.t
module History : sig ... end
Sourceval history : ?depth:int -> ?min:commit list -> ?max:commit list -> t -> History.t Lwt.t
Sourceval last_modified : ?depth:int -> ?n:int -> t -> path -> commit list Lwt.t
Sourcemodule Branch : sig ... end
Sourcemodule Path : sig ... end
Sourcemodule Metadata : sig ... end
Sourcemodule Backend : sig ... end
Sourcetype Irmin__.Remote.t +=
  1. | E of Backend.Remote.endpoint
Sourceval of_backend_node : repo -> Backend.Node.value -> node
Sourceval to_backend_node : node -> Backend.Node.value Lwt.t
Sourceval to_backend_portable_node : node -> Backend.Node_portable.t Lwt.t
Sourceval to_backend_commit : commit -> Backend.Commit.value
Sourceval save_tree : ?clear:bool -> repo -> [> Irmin.Perms.write ] Backend.Contents.t -> [> Irmin.Perms.read_write ] Backend.Node.t -> tree -> [ `Contents of contents_key | `Node of node_key ] Lwt.t
Sourceval master : repo -> t Lwt.t
  • deprecated Use `main` instead.
Sourceval integrity_check_inodes : ?heads:commit Irmin.Export_for_backends.List.t -> Repo.t -> ([> `Msg of string ], [> `Msg of string ]) result Lwt.t
Sourcemodule Stats : sig ... end
Sourceval stats : dump_blob_paths_to:string option -> commit:commit -> Repo.t -> unit Lwt.t
Sourceval reload : X.Repo.t -> unit
Sourceval flush : X.Repo.t -> unit
Sourceval fsync : X.Repo.t -> unit
Sourcemodule Gc : sig ... end
Sourcemodule Traverse_pack_file : sig ... end
Sourceval traverse_pack_file : [ `Check_and_fix_index | `Check_index | `Reconstruct_index of [ `In_place | `Output of string ] ] -> Irmin.config -> unit
Sourceval test_traverse_pack_file : [ `Check_and_fix_index | `Check_index | `Reconstruct_index of [ `In_place | `Output of string ] ] -> Irmin.config -> unit
Sourcemodule Snapshot : sig ... end
OCaml

Innovation. Community. Security.