module type S
A repository contains a set of branches.
type t = repo
The type of repository handles.
close t frees up all resources associated with
t. Any operations run on a closed repository will raise
val export : ?full:bool -> ?depth:int -> ?min:commit list -> ?max:[ `Head | `Max of commit list ] -> t -> slice Lwt.t
export t ~full ~depth ~min ~max exports the store slice between
max, using at most
depth history depth (starting from the max).
max is `Head (also the default value), use the current
min is not specified, use an unbound past (but can still be limited by
depth is used to limit the depth of the commit history.
None here means no limitation.
full is set (default is true), the full graph, including the commits, nodes and contents, is exported, otherwise it is the commit history graph only.