package git

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

Module Git.ReferenceSource

Sourcetype t

The Git Reference module.

Sourceval of_string : string -> (t, [> `Msg of string ]) result
Sourceval v : string -> t
Sourceval add_seg : t -> string -> t
Sourceval append : t -> t -> t
Sourceval segs : t -> string list
Sourceval pp : t Fmt.t
Sourceval head : t
Sourceval master : t
Sourceval (/) : t -> string -> t
Sourceval (//) : t -> t -> t
Sourceval to_string : t -> string
Sourceval equal : t -> t -> bool
Sourceval compare : t -> t -> int
Sourcemodule Map : Map.S with type key = t
Sourcemodule Set : Set.S with type elt = t
Sourcetype 'uid contents =
  1. | Uid of 'uid
  2. | Ref of t
Sourceval equal_contents : equal:('uid -> 'uid -> bool) -> 'uid contents -> 'uid contents -> bool
Sourceval compare_contents : compare:('uid -> 'uid -> int) -> 'uid contents -> 'uid contents -> int
Sourceval pp_contents : pp:'uid Fmt.t -> 'uid contents Fmt.t
Sourceval uid : 'uid -> 'uid contents
Sourceval ref : t -> 'uid contents
Sourcemodule Packed : sig ... end
Sourcetype ('t, 'uid, 'error, 's) store = {
  1. atomic_wr : 't -> t -> string -> ((unit, 'error) result, 's) Carton.io;
  2. atomic_rd : 't -> t -> ((string, 'error) result, 's) Carton.io;
  3. uid_of_hex : string -> 'uid option;
  4. uid_to_hex : 'uid -> string;
  5. packed : 'uid Packed.packed;
}
Sourceval resolve : 's Carton.scheduler -> 't -> ('t, 'uid, 'error, 's) store -> t -> (('uid, [> `Not_found of t | `Cycle ]) result, 's) Carton.io
Sourceval write : 's Carton.scheduler -> 't -> ('t, 'uid, 'error, 's) store -> t -> 'uid contents -> ((unit, [> `Store of 'error ]) result, 's) Carton.io
Sourceval read : 's Carton.scheduler -> 't -> ('t, 'uid, 'error, 's) store -> t -> (('uid contents, [> `Not_found of t ]) result, 's) Carton.io
Sourcemodule type S = sig ... end
OCaml

Innovation. Community. Security.