Module Values.BranchInfoSource

Returns information about a branch.

Sourcetype nonrec t = {
  1. branchName : BranchName.t option;
    (*

    The name of the branch.

    *)
  2. commitId : CommitId.t option;
    (*

    The ID of the last commit made to the branch.

    *)
}
Sourceval make : ?branchName:??? -> ?commitId:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of BranchName.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t