package mgit

  1. Overview
  2. Docs

Module Mgit_objectSource

Sourcetype error = [
  1. | `Msg of string
]
Sourceval pp_error : error Fmt.t
Sourceval ref_length : int
Sourceval uid_of_hex : string -> (Carton.Uid.t, [> error ]) result
Sourceval uid_of_hex_exn : string -> Carton.Uid.t
Sourceval hex_of_uid : Carton.Uid.t -> string
Sourceval digest : kind:Carton.Kind.t -> string -> Carton.Uid.t
Sourceval identify : Digestif.SHA1.ctx Carton.First_pass.identify
Sourceval digest_pack : unit -> Carton.First_pass.digest
Sourceval string_of_kind : Carton.Kind.t -> string
Sourceval kind_of_string : string -> (Carton.Kind.t, [> error ]) result

Users

Sourcemodule User : sig ... end

Trees

Sourcemodule Tree : sig ... end

Commits

Sourcemodule Commit : sig ... end

Tags

Sourcemodule Tag : sig ... end
Sourceval tree_of_commit : string -> Carton.Uid.t option
Sourceval parents_of_commit : string -> Carton.Uid.t list
Sourceval target_of_tag : string -> Carton.Uid.t option
Sourceval entries : string -> (Tree.entry list, [> error ]) result